summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/Deprecated.cmake
diff options
context:
space:
mode:
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)?$")