mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 19:33:13 +01:00
Add FreeBSD files to druntime build
This commit is contained in:
@@ -88,12 +88,20 @@ if(APPLE)
|
||||
list(APPEND DCRT_C ${RUNTIME_DIR}/src/ldc/osx_tls.c)
|
||||
endif()
|
||||
file(GLOB_RECURSE CORE_D_UNIX ${RUNTIME_DIR}/src/core/sys/posix/*.d)
|
||||
file(GLOB_RECURSE CORE_D_FREEBSD ${RUNTIME_DIR}/src/core/sys/freebsd/*.d)
|
||||
file(GLOB_RECURSE CORE_D_LINUX ${RUNTIME_DIR}/src/core/sys/linux/*.d)
|
||||
file(GLOB_RECURSE CORE_D_OSX ${RUNTIME_DIR}/src/core/sys/osx/*.d)
|
||||
file(GLOB_RECURSE CORE_D_WIN ${RUNTIME_DIR}/src/core/sys/windows/*.d)
|
||||
set(CORE_D_SYS)
|
||||
set(DCRT_ASM)
|
||||
if(UNIX)
|
||||
list(APPEND CORE_D_SYS ${CORE_D_UNIX})
|
||||
if(${CMAKE_SYSTEM} MATCHES "FreeBSD")
|
||||
list(APPEND CORE_D_SYS ${CORE_D_FREEBSD})
|
||||
endif()
|
||||
if(${CMAKE_SYSTEM} MATCHES "Linux")
|
||||
list(APPEND CORE_D_SYS ${CORE_D_LINUX})
|
||||
endif()
|
||||
list(APPEND DCRT_ASM ${RUNTIME_DIR}/src/core/threadasm.S)
|
||||
if(APPLE)
|
||||
list(APPEND CORE_D_SYS ${CORE_D_OSX})
|
||||
|
||||
Submodule runtime/druntime updated: 6c6a4a116c...9464c8f95d
Reference in New Issue
Block a user