1 2 3
enable_language(CXX) set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE "$<1:${PSEUDO_IWYU}>" -Xiwyu --error) add_executable(main main.cxx)