[pkg-d-commits] [ldc] 94/149: Adapt druntime CMake script for new core.sys.{darwin, openbsd} packages
Matthias Klumpp
mak at moszumanska.debian.org
Sun Apr 23 22:37:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to annotated tag v1.2.0
in repository ldc.
commit d63190a49bebc92058ec2e0ed21250d98fdb28ae
Author: Martin <noone at nowhere.com>
Date: Tue Feb 7 20:40:22 2017 +0100
Adapt druntime CMake script for new core.sys.{darwin,openbsd} packages
---
runtime/CMakeLists.txt | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
index b945c67..20b788b 100644
--- a/runtime/CMakeLists.txt
+++ b/runtime/CMakeLists.txt
@@ -77,25 +77,31 @@ list(REMOVE_ITEM DRUNTIME_D
)
# only include core/sys/ modules matching the platform
file(GLOB_RECURSE DRUNTIME_D_BIONIC ${RUNTIME_DIR}/src/core/sys/bionic/*.d)
+file(GLOB_RECURSE DRUNTIME_D_DARWIN ${RUNTIME_DIR}/src/core/sys/darwin/*.d)
file(GLOB_RECURSE DRUNTIME_D_FREEBSD ${RUNTIME_DIR}/src/core/sys/freebsd/*.d)
file(GLOB_RECURSE DRUNTIME_D_LINUX ${RUNTIME_DIR}/src/core/sys/linux/*.d)
+file(GLOB_RECURSE DRUNTIME_D_OPENBSD ${RUNTIME_DIR}/src/core/sys/openbsd/*.d)
file(GLOB_RECURSE DRUNTIME_D_OSX ${RUNTIME_DIR}/src/core/sys/osx/*.d)
file(GLOB_RECURSE DRUNTIME_D_POSIX ${RUNTIME_DIR}/src/core/sys/posix/*.d)
file(GLOB_RECURSE DRUNTIME_D_SOLARIS ${RUNTIME_DIR}/src/core/sys/solaris/*.d)
file(GLOB_RECURSE DRUNTIME_D_WINDOWS ${RUNTIME_DIR}/src/core/sys/windows/*.d)
list(REMOVE_ITEM DRUNTIME_D
- ${DRUNTIME_D_BIONIC} ${DRUNTIME_D_FREEBSD} ${DRUNTIME_D_LINUX} ${DRUNTIME_D_OSX}
- ${DRUNTIME_D_POSIX} ${DRUNTIME_D_SOLARIS} ${DRUNTIME_D_WINDOWS}
+ ${DRUNTIME_D_BIONIC} ${DRUNTIME_D_DARWIN} ${DRUNTIME_D_FREEBSD} ${DRUNTIME_D_LINUX}
+ ${DRUNTIME_D_OPENBSD} ${DRUNTIME_D_OSX} ${DRUNTIME_D_POSIX} ${DRUNTIME_D_SOLARIS}
+ ${DRUNTIME_D_WINDOWS}
)
if(UNIX)
list(APPEND DRUNTIME_D ${DRUNTIME_D_POSIX})
if(APPLE)
+ list(APPEND DRUNTIME_D ${DRUNTIME_D_DARWIN})
list(APPEND DRUNTIME_D ${DRUNTIME_D_OSX})
elseif(${CMAKE_SYSTEM} MATCHES "FreeBSD")
list(APPEND DRUNTIME_D ${DRUNTIME_D_FREEBSD})
elseif(${CMAKE_SYSTEM} MATCHES "Linux")
list(APPEND DRUNTIME_D ${DRUNTIME_D_LINUX})
list(APPEND DRUNTIME_D ${DRUNTIME_D_BIONIC})
+ elseif(${CMAKE_SYSTEM} MATCHES "OpenBSD")
+ list(APPEND DRUNTIME_D ${DRUNTIME_D_OPENBSD})
elseif(${CMAKE_SYSTEM} MATCHES "SunOS")
list(APPEND DRUNTIME_D ${DRUNTIME_D_SOLARIS})
endif()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list