CMake/Tests/RunCMake/GeneratorExpression/COMPILE_LANGUAGE-add_custom...

7 lines
102 B
CMake
Raw Normal View History

enable_language(C)
add_custom_target(empty
COMMAND ${CMAKE_COMMAND} -E echo $<COMPILE_LANGUAGE>
)