summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/SCRIPT-ALL_COMPONENTS.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/install/SCRIPT-ALL_COMPONENTS.cmake')
-rw-r--r--Tests/RunCMake/install/SCRIPT-ALL_COMPONENTS.cmake13
1 files changed, 12 insertions, 1 deletions
diff --git a/Tests/RunCMake/install/SCRIPT-ALL_COMPONENTS.cmake b/Tests/RunCMake/install/SCRIPT-ALL_COMPONENTS.cmake
index aa3f9d1..73c4e35 100644
--- a/Tests/RunCMake/install/SCRIPT-ALL_COMPONENTS.cmake
+++ b/Tests/RunCMake/install/SCRIPT-ALL_COMPONENTS.cmake
@@ -1,5 +1,16 @@
+
install(
SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/install_script.cmake"
+ ALL_COMPONENTS
+)
+
+install(
CODE "write_empty_file(empty2.txt)"
ALL_COMPONENTS
- )
+ EXCLUDE_FROM_ALL
+)
+
+install(
+ CODE "write_empty_file(empty3.txt)"
+ ALL_COMPONENTS
+)