Refactor of the cppcheck cmake configuration to make it usable also for full project builds and not only WorkDir:
cppcheck_suppress.txt
file. Only the suppression of external include directories remains on the command line.CxxUtilsSettings
using the same approach we already do for the gccchecker configuration.The command line arguments of cppcheck
are built from:
--quiet --inline-suppr --template=gcc -D__CPPCHECK__
that always have to be used.--suppressions-list
(see above)ATLAS_CPPCHECK_OPTIONS "--enable=warning,portability"
. These can be modified or augmented via cmake -DATLAS_CPPCHECK_OPTIONS=...
.As always, in order to enable cppcheck one has to have it available in the environment (e.g. via lsetup cppcheck
).
Relates to ATLINFR-5443 and ATLINFR-5449.
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Stage: external |
Download artifacts
No artifacts found | |||
Stage: external |
Download artifacts
No artifacts found |