summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/alias_targets/exclude-from-all.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/alias_targets/exclude-from-all.cmake')
-rw-r--r--Tests/RunCMake/alias_targets/exclude-from-all.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/alias_targets/exclude-from-all.cmake b/Tests/RunCMake/alias_targets/exclude-from-all.cmake
new file mode 100644
index 0000000..0091918
--- /dev/null
+++ b/Tests/RunCMake/alias_targets/exclude-from-all.cmake
@@ -0,0 +1,6 @@
+
+enable_language(CXX)
+
+add_library(foo empty.cpp)
+
+add_library(alias ALIAS EXCLUDE_FROM_ALL foo)