2023-06-07 11:09:27 -07:00
|
|
|
add_library(cxx STATIC
|
2023-06-07 10:48:03 -07:00
|
|
|
src/new.cpp
|
|
|
|
)
|
|
|
|
|
2023-06-07 11:09:27 -07:00
|
|
|
target_include_directories(cxx
|
2023-06-07 10:48:03 -07:00
|
|
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
|
|
|
2023-06-07 11:09:27 -07:00
|
|
|
target_link_libraries(cxx
|
|
|
|
c
|
2023-06-07 10:48:03 -07:00
|
|
|
zion_lib
|
|
|
|
)
|
|
|
|
|
2023-06-07 11:09:27 -07:00
|
|
|
set_target_properties(cxx PROPERTIES
|
|
|
|
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}")
|