summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake')
-rw-r--r--Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake b/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
new file mode 100644
index 000000000..c27ea5f73
--- /dev/null
+++ b/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
@@ -0,0 +1,7 @@
+add_custom_target(check ALL COMMAND check
+ $<CONFIG>
+ $<CONFIG:.>
+ $<CONFIG:Foo,Bar>
+ $<CONFIG:Foo-Bar>
+ $<$<CONFIG:Foo-Nested>:foo>
+ VERBATIM)