summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake')
-rw-r--r--Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake
new file mode 100644
index 000000000..b5b6c2b82
--- /dev/null
+++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake
@@ -0,0 +1,5 @@
+
+include(CTest)
+enable_testing()
+
+add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $<COMPILE_LANG_AND_ID:CXX,GNU>)