mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Refactoring in commit v3.10.0-rc1~115^2 (Clean up iwyu code to not be one big if statement, 2017-08-28) incorrectly changed the logic to run only one lint tool at a time. Restore support for running all tools specified on the command-line.
7 lines
275 B
CMake
7 lines
275 B
CMake
enable_language(C)
|
|
set(CMAKE_C_INCLUDE_WHAT_YOU_USE "${PSEUDO_IWYU}" -some -args)
|
|
set(CMAKE_C_CLANG_TIDY "${PSEUDO_TIDY}" -some -args)
|
|
set(CMAKE_C_CPPLINT "${PSEUDO_CPPLINT}" --verbose=0 --linelength=80)
|
|
set(CMAKE_C_CPPCHECK "${PSEUDO_CPPCHECK}")
|
|
add_executable(main main.c)
|