summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/SCRIPT.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-07-11 21:03:30 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-07-17 13:07:01 (GMT)
commitae1c917f1aa6e544f27c5e73ede0edb10da0c3ad (patch)
treedd5455af422b461c3c5c4d3bfafaad0213317b17 /Tests/RunCMake/install/SCRIPT.cmake
parent2c62a45a5a11c624f4b1bb882831f696c51818f1 (diff)
downloadCMake-ae1c917f1aa6e544f27c5e73ede0edb10da0c3ad.zip
CMake-ae1c917f1aa6e544f27c5e73ede0edb10da0c3ad.tar.gz
CMake-ae1c917f1aa6e544f27c5e73ede0edb10da0c3ad.tar.bz2
Tests: Add test for install(<SCRIPT|CODE>)
Diffstat (limited to 'Tests/RunCMake/install/SCRIPT.cmake')
-rw-r--r--Tests/RunCMake/install/SCRIPT.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/SCRIPT.cmake b/Tests/RunCMake/install/SCRIPT.cmake
new file mode 100644
index 0000000..f857b54
--- /dev/null
+++ b/Tests/RunCMake/install/SCRIPT.cmake
@@ -0,0 +1,4 @@
+install(
+ SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/install_script.cmake"
+ CODE "write_empty_file(empty2.txt)"
+ )