diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2019-11-27 15:59:20 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-12-13 15:52:07 (GMT) |
commit | e0478cc64623fbfcb7dcd748f27b94cc8473fa1a (patch) | |
tree | fa28877d7db948f5aee23a9dbe0bc042d562150b /Tests/RunCMake/NinjaMultiConfig/Clean.cmake | |
parent | 5a8a9f72293ab1b3fd768ff40e5fb1f07cdb7dd2 (diff) | |
download | CMake-e0478cc64623fbfcb7dcd748f27b94cc8473fa1a.zip CMake-e0478cc64623fbfcb7dcd748f27b94cc8473fa1a.tar.gz CMake-e0478cc64623fbfcb7dcd748f27b94cc8473fa1a.tar.bz2 |
Tests: Add test for Multi-Configuration Ninja generator
Diffstat (limited to 'Tests/RunCMake/NinjaMultiConfig/Clean.cmake')
-rw-r--r-- | Tests/RunCMake/NinjaMultiConfig/Clean.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/NinjaMultiConfig/Clean.cmake b/Tests/RunCMake/NinjaMultiConfig/Clean.cmake new file mode 100644 index 0000000..2258d2b --- /dev/null +++ b/Tests/RunCMake/NinjaMultiConfig/Clean.cmake @@ -0,0 +1,17 @@ +enable_language(C) + +add_executable(exeall main.c) +set_target_properties(exeall PROPERTIES VERSION 1.0.0) +add_executable(exenotall main.c) +set_target_properties(exenotall PROPERTIES EXCLUDE_FROM_ALL TRUE) + +add_library(mylib SHARED simplelib.c) +set_target_properties(mylib PROPERTIES + VERSION 1.0.0 + SOVERSION 1 + ) + +add_library(myobj OBJECT simplelib.c) + +include(${CMAKE_CURRENT_LIST_DIR}/Common.cmake) +generate_output_files(exeall exenotall mylib myobj) |