blob: e47647cc555c3bc197ba28fabac365732528ec1f (
plain)
1
2
3
4
5
6
7
8
9
10
|
enable_language(C)
add_library(ticlang-test-lib)
target_sources(ticlang-test-lib PRIVATE libmod.c)
add_executable(exec-lib-c)
target_sources(exec-lib-c PRIVATE module.c)
target_compile_definitions(exec-lib-c PRIVATE __USE_LIBFUN)
target_link_libraries(exec-lib-c LINK_PUBLIC ticlang-test-lib)
target_link_options(exec-lib-c PRIVATE ${LINKER_OPTS})
|