summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/preinstall.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-07-11 20:42:24 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-07-17 13:07:01 (GMT)
commit2c62a45a5a11c624f4b1bb882831f696c51818f1 (patch)
treeeabd7fff8ed353b74eed4739fc82ebb5e25c1b1e /Tests/RunCMake/install/preinstall.cmake
parentdb4bc2fa1814a230a8f58293a48465cba9a22a36 (diff)
downloadCMake-2c62a45a5a11c624f4b1bb882831f696c51818f1.zip
CMake-2c62a45a5a11c624f4b1bb882831f696c51818f1.tar.gz
CMake-2c62a45a5a11c624f4b1bb882831f696c51818f1.tar.bz2
Tests: Add test for <PRE|POST>_INSTALL_SCRIPT
Diffstat (limited to 'Tests/RunCMake/install/preinstall.cmake')
-rw-r--r--Tests/RunCMake/install/preinstall.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/preinstall.cmake b/Tests/RunCMake/install/preinstall.cmake
new file mode 100644
index 0000000..4b28d16
--- /dev/null
+++ b/Tests/RunCMake/install/preinstall.cmake
@@ -0,0 +1 @@
+file(WRITE "${CMAKE_INSTALL_PREFIX}/preinstall" "preinstall")