CMake/Tests/RunCMake/GeneratorExpression/COMPILE_LANGUAGE-add_test.c...

6 lines
108 B
CMake

include(CTest)
enable_testing()
add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $<COMPILE_LANGUAGE>)