ada5ffce7b
Create a <LANG>_INCLUDE_WHAT_YOU_USE target property (initialized by a CMAKE_<LANG>_INCLUDE_WHAT_YOU_USE variable) to specify an IWYU command line to be run along with the compiler.
4 lines
110 B
CMake
4 lines
110 B
CMake
enable_language(C)
|
|
set(CMAKE_C_INCLUDE_WHAT_YOU_USE "${PSEUDO_IWYU}" -some -args)
|
|
add_executable(main main.c)
|