summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-15 18:18:08 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-16 12:03:34 (GMT)
commit931a6702f6e2407d6ace8958c22324297ffff8f2 (patch)
treeeda0871a66405d091184429c708e7197be122b7f /Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake
parentf37ff966d094afd279081c7598b5d3102c377cdd (diff)
downloadCMake-931a6702f6e2407d6ace8958c22324297ffff8f2.zip
CMake-931a6702f6e2407d6ace8958c22324297ffff8f2.tar.gz
CMake-931a6702f6e2407d6ace8958c22324297ffff8f2.tar.bz2
Tests: Factor out RunCMake.GenEx-COMPILE_LANGUAGE test
Move the `COMPILE_LANGUAGE` cases out of `RunCMake.GeneratorExpression`.
Diffstat (limited to 'Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake')
-rw-r--r--Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake
new file mode 100644
index 0000000..00dd290
--- /dev/null
+++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake
@@ -0,0 +1,4 @@
+
+enable_language(C)
+add_executable(empty empty.c)
+target_compile_options(empty PRIVATE $<$<COMPILE_LANGUAGE:CXX>:$<TARGET_EXISTS:too,many,parameters>>)