diff options
author | Brad King <brad.king@kitware.com> | 2018-10-29 15:45:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-29 15:45:49 (GMT) |
commit | 44cef5fd9204dab2872ca87ed3c56947218aeb75 (patch) | |
tree | c6ff7f681a497e9e3ba9079868e2a4616853741b /Tests | |
parent | 97624af75125a6d6ad2fcc181fe8645bf1abfb5f (diff) | |
parent | 50572d638b3903f2c2af636dcfe9d3765fd87a7c (diff) | |
download | CMake-44cef5fd9204dab2872ca87ed3c56947218aeb75.zip CMake-44cef5fd9204dab2872ca87ed3c56947218aeb75.tar.gz CMake-44cef5fd9204dab2872ca87ed3c56947218aeb75.tar.bz2 |
Merge branch 'set_directory_properties-script-mode' into release-3.13
Merge-request: !2544
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/RunCMake/ScriptMode/RunCMakeTest.cmake | 3 | ||||
-rw-r--r-- | Tests/RunCMake/ScriptMode/set_directory_properties.cmake | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 90681b9..394dd6d 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -178,6 +178,7 @@ add_RunCMake_test(ObjectLibrary) if(UNIX AND CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG AND CMAKE_EXECUTABLE_FORMAT STREQUAL "ELF") add_RunCMake_test(RuntimePath) endif() +add_RunCMake_test(ScriptMode) add_RunCMake_test(Swift) add_RunCMake_test(TargetObjects) add_RunCMake_test(TargetSources) diff --git a/Tests/RunCMake/ScriptMode/RunCMakeTest.cmake b/Tests/RunCMake/ScriptMode/RunCMakeTest.cmake new file mode 100644 index 0000000..4c44ffb --- /dev/null +++ b/Tests/RunCMake/ScriptMode/RunCMakeTest.cmake @@ -0,0 +1,3 @@ +include(RunCMake) + +run_cmake_command(set_directory_properties ${CMAKE_COMMAND} -P ${RunCMake_SOURCE_DIR}/set_directory_properties.cmake) diff --git a/Tests/RunCMake/ScriptMode/set_directory_properties.cmake b/Tests/RunCMake/ScriptMode/set_directory_properties.cmake new file mode 100644 index 0000000..bf79317 --- /dev/null +++ b/Tests/RunCMake/ScriptMode/set_directory_properties.cmake @@ -0,0 +1 @@ +set_directory_properties(PROPERTIES SOME_PROPERTY FALSE) |