mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
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
116 B
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)
|