You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
350 B
11 lines
350 B
8 months ago
|
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})
|