CMake/Tests/RunCMake/IncludeWhatYouUse/CXX.cmake

4 lines
116 B
CMake

enable_language(CXX)
set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE "${PSEUDO_IWYU}" -some -args)
add_executable(main main.cxx)