summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/COMPILE_LANGUAGE-genex/CompileOptions.cmake
blob: 6c92abca9ba57a0b0318836862bfb5b3a0b0e950 (plain)
1
2
3
4
5

enable_language(CXX)

add_executable(main main.cpp)
target_compile_options(main PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-DANYTHING>)