2014-12-04 00:11:22 +00:00
|
|
|
project(darling-libsystem)
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 2.4.0)
|
|
|
|
|
2014-12-29 16:10:47 +00:00
|
|
|
add_definitions(-D_DARWIN_C_SOURCE -D_POSIX_C_SOURCE -DDARLING)
|
2015-02-14 00:10:30 +00:00
|
|
|
|
|
|
|
add_subdirectory(bootstrap_cmds)
|
|
|
|
add_subdirectory(kernel)
|
|
|
|
|
2014-12-04 00:11:22 +00:00
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/libc/include")
|
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/libm/Source")
|
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/platform-include")
|
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/platform-include/pthread")
|
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/kernel-include")
|
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/compiler-include")
|
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/duct/include")
|
|
|
|
|
|
|
|
add_subdirectory(libc)
|
2015-02-13 21:43:16 +00:00
|
|
|
add_subdirectory(libm)
|
2015-02-13 22:09:26 +00:00
|
|
|
add_subdirectory(libmalloc)
|
2015-02-15 20:47:46 +00:00
|
|
|
add_subdirectory(libsystem)
|
2015-02-15 20:52:27 +00:00
|
|
|
add_subdirectory(keymgr)
|
2015-02-14 00:10:30 +00:00
|
|
|
|