summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-02-05 18:32:04 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-02-06 16:07:38 (GMT)
commit9e219de4fb50096a9386dbe6de9f98cf8a7ec199 (patch)
tree0ea9983da347a69958da346acb242b888bc36acd /Tests/RunCMake/FileAPI/RunCMakeTest.cmake
parent13ef3285df97fa97a4cc1b7fe81741aeb8adcf7a (diff)
downloadCMake-9e219de4fb50096a9386dbe6de9f98cf8a7ec199.zip
CMake-9e219de4fb50096a9386dbe6de9f98cf8a7ec199.tar.gz
CMake-9e219de4fb50096a9386dbe6de9f98cf8a7ec199.tar.bz2
Ninja Multi-Config: Don't include MinSizeRel by default
Diffstat (limited to 'Tests/RunCMake/FileAPI/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/FileAPI/RunCMakeTest.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/FileAPI/RunCMakeTest.cmake b/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
index f8adb64..8cdc00c 100644
--- a/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
+++ b/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
@@ -34,6 +34,10 @@ function(check_python case)
endif()
endfunction()
+if(RunCMake_GENERATOR_IS_MULTI_CONFIG)
+ set(RunCMake_TEST_OPTIONS "-DCMAKE_CONFIGURATION_TYPES=Debug\\;Release\\;MinSizeRel\\;RelWithDebInfo")
+endif()
+
run_cmake(Nothing)
run_cmake(Empty)
run_cmake(EmptyClient)