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
338 B

enable_language(C)
add_library(iar-test-lib)
target_sources(iar-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 iar-test-lib)
target_link_options(exec-lib-c PRIVATE ${LINKER_OPTS})