I've just started using --project=MyVSProject.vcxproj to kick-off analysis, but cppcheck appears to always check every Configuration - we have ~15 that are all basically identical apart from enabling/disabling some optimisations and build settings. Is there a way to tell cppcheck to only analyse a specific config?
I'm not going to get much more by analysing all the configs (and taking 15 times longer) than just checking one of them.
Looking at ImportProject::importVcxproj, I can't see any logic that would allow it to exclude/include specific configs, so I assume this feature doesn't exist currently.
cppcheck should try to detect configurations that are identical (from cppcheck's point of view) and avoid checking them automatically.
I have a local fix for this that I am testing. Once I'm happy with it I will offer it up as an improvement to CppCheck.
I agree with Mr X. And also it would be great if you could specify which specific configuration(s) you want to check in some good way. Some partial fix will be nice.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.