acadia/lib/mammoth/CMakeLists.txt

23 lines
500 B
CMake
Raw Normal View History

add_library(mammoth_lib STATIC
src/channel.cpp
src/debug.cpp
src/init.cpp
2023-06-12 23:24:05 -07:00
src/memory_region.cpp
src/process.cpp
src/port.cpp
src/thread.cpp
)
target_include_directories(mammoth_lib
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_link_libraries(mammoth_lib
2023-06-07 22:45:24 -07:00
c
zion_lib)
set_target_properties(mammoth_lib 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}"
)