1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# compile the dynstring library add_library(dynstring "") target_sources(dynstring PRIVATE dynstring.c PUBLIC dynstring.h ) if(XTRKCAD_TESTING) add_subdirectory(unittest) endif() target_include_directories(dynstring PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")