summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/Deprecated.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-07-11 20:33:12 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-07-17 13:07:01 (GMT)
commitdb4bc2fa1814a230a8f58293a48465cba9a22a36 (patch)
tree01e4ff73c411a710f1e51b376e077188b0a09f40 /Tests/RunCMake/install/Deprecated.cmake
parentec5c838fcb04f672e3ec03547fb571d40e789fdd (diff)
downloadCMake-db4bc2fa1814a230a8f58293a48465cba9a22a36.zip
CMake-db4bc2fa1814a230a8f58293a48465cba9a22a36.tar.gz
CMake-db4bc2fa1814a230a8f58293a48465cba9a22a36.tar.bz2
Tests: Add test for deprecated install_*() commands
Diffstat (limited to 'Tests/RunCMake/install/Deprecated.cmake')
-rw-r--r--Tests/RunCMake/install/Deprecated.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/Deprecated.cmake b/Tests/RunCMake/install/Deprecated.cmake
new file mode 100644
index 0000000..c435cb5
--- /dev/null
+++ b/Tests/RunCMake/install/Deprecated.cmake
@@ -0,0 +1,13 @@
+enable_language(C)
+
+add_executable(myexe main.c)
+
+install_files(/src FILES empty.c)
+install_files(/src .c obj1)
+install_files(/src "^obj2.c$")
+
+install_targets(/bin myexe)
+
+install_programs(/scripts1 FILES script script.bat)
+install_programs(/scripts2 script script.bat)
+install_programs(/scripts3 "^script(\.bat)?$")