I have a semi-large Visual Studio solution, with a series of different build configurations, and various platforms. I really only want to check one or two configurations, on a single platform. However, I don't see a way in the CppCheck manual to select a build configuration when you use the --project flag. I've tried to use --platform; however, that doesn't even just select configurations for that platform (win64 still checks win32 configs).
Is there a way with CppCheck to select a singular build configuration in a solution, or at a maybe even exclude certain configurations?
I added the --project option in Cppcheck.
In the command line tool you do not have a good way to select a single configuration. This is a missing feature. Somehow I want to give the user some control of this, but I do not want to add additional cppcheck arguments. I think that the --platform
option should exclude mismatching configurations, that sounds like a good start.
For information; in the GUI you can select a platform and only get analysis of the first matching DEBUG configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With