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