mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-16 23:41:15 -05:00
Tests/RunCMake/IAR: Enable IAR extended keywords
This commit is contained in:
committed by
Brad King
parent
cc268d58e2
commit
9f52953df5
@@ -1,4 +1,5 @@
|
||||
enable_language(C)
|
||||
|
||||
add_executable(exec-c module.c)
|
||||
target_compile_options(exec-c PRIVATE -e)
|
||||
target_link_options(exec-c PRIVATE ${LINKER_OPTS})
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
enable_language(CXX)
|
||||
|
||||
add_executable(exec-cxx module.cxx)
|
||||
target_compile_options(exec-cxx PRIVATE -e)
|
||||
target_link_options(exec-cxx PRIVATE ${LINKER_OPTS})
|
||||
|
||||
@@ -3,6 +3,7 @@ enable_language(C)
|
||||
add_library(iar-test-lib libmod.c)
|
||||
|
||||
add_executable(exec-lib-c module.c)
|
||||
target_compile_options(exec-lib-c PRIVATE -e)
|
||||
target_compile_definitions(exec-lib-c PRIVATE __USE_LIBFUN)
|
||||
target_link_libraries(exec-lib-c PRIVATE iar-test-lib)
|
||||
target_link_options(exec-lib-c PRIVATE ${LINKER_OPTS})
|
||||
|
||||
Reference in New Issue
Block a user