2023-06-26 11:56:09 -07:00
|
|
|
add_library(mammoth STATIC
|
2023-11-22 13:41:14 -08:00
|
|
|
ipc/channel.cpp
|
|
|
|
ipc/endpoint_client.cpp
|
|
|
|
ipc/endpoint_server.cpp
|
|
|
|
ipc/port_client.cpp
|
|
|
|
ipc/port_server.cpp
|
2023-11-22 14:10:10 -08:00
|
|
|
proc/process.cpp
|
|
|
|
proc/thread.cpp
|
2023-06-06 16:56:19 -07:00
|
|
|
src/debug.cpp
|
2023-06-16 23:51:49 -07:00
|
|
|
src/init.cpp
|
2023-06-12 23:24:05 -07:00
|
|
|
src/memory_region.cpp
|
2023-06-26 08:29:14 -07:00
|
|
|
src/new.cpp
|
2023-11-22 13:45:04 -08:00
|
|
|
sync/mutex.cpp
|
|
|
|
sync/semaphore.cpp
|
2023-06-06 16:56:19 -07:00
|
|
|
)
|
|
|
|
|
2023-06-26 11:56:09 -07:00
|
|
|
target_include_directories(mammoth
|
2023-06-06 16:56:19 -07:00
|
|
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
2023-11-22 13:41:14 -08:00
|
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/.."
|
|
|
|
)
|
2023-06-06 16:56:19 -07:00
|
|
|
|
2023-06-26 11:56:09 -07:00
|
|
|
target_link_libraries(mammoth
|
2023-06-21 18:28:54 -07:00
|
|
|
glacier
|
2023-06-07 22:45:24 -07:00
|
|
|
c
|
2023-06-26 11:57:19 -07:00
|
|
|
zion_stub)
|
2023-06-06 16:56:19 -07:00
|
|
|
|
2023-06-26 11:56:09 -07:00
|
|
|
set_target_properties(mammoth PROPERTIES
|
2023-06-07 11:09:27 -07:00
|
|
|
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"
|
|
|
|
LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}"
|
2023-06-07 09:37:16 -07:00
|
|
|
)
|