cppcheck: refactor cmake configuration
Major overhaul of the cppcheck cmake configuration to make it usable also for full project builds and not only WorkDir: - Move the cmake code from WorkDir to `CxxUtilsSettings` using the same approach we already do for the gccchecker configuration. Replace the loop over the possible projects with `ATLAS_PROJECT`. - Move the suppressions into their own `cppcheck_suppress.txt` file. Only the suppression of external include directories remains on the command line.
Showing
- Control/CxxUtils/cmake/CxxUtilsSettingsConfig.cmake 18 additions, 1 deletionControl/CxxUtils/cmake/CxxUtilsSettingsConfig.cmake
- Control/CxxUtils/share/cppcheck_suppress.txt 25 additions, 0 deletionsControl/CxxUtils/share/cppcheck_suppress.txt
- Projects/Athena/CMakeLists.txt 28 additions, 0 deletionsProjects/Athena/CMakeLists.txt
- Projects/WorkDir/CMakeLists.txt 13 additions, 39 deletionsProjects/WorkDir/CMakeLists.txt
Control/CxxUtils/share/cppcheck_suppress.txt
0 → 100644
Please register or sign in to comment