acadia/lib/libc/CMakeLists.txt

17 lines
311 B
CMake
Raw Normal View History

2023-06-07 11:09:27 -07:00
add_library(c STATIC
src/malloc.cpp
2023-06-12 19:13:16 -07:00
src/string.cpp
)
2023-06-07 11:09:27 -07:00
target_include_directories(c
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
2023-06-07 11:09:27 -07:00
target_link_libraries(c
zion_stub
)
2023-06-07 11:09:27 -07:00
set_target_properties(c PROPERTIES
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}")