Replies: 4 comments 4 replies
|
Not a user of cppcheck myself, so these are only guesses, but you could try:
|
1 reply
|
I have a related issue with But I use |
3 replies
|
@TheLartians the only way I know so far is to patch the cmake generated file Line 38 in 3d00624 and than i.e. Line 39 in 3d00624 cppcheck can work with this file too! I prefer to use |
0 replies
|
With How this helps shows may project: ModernCmakeStarter |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello!
I guess a simple question but I can't seem to make it work.
How to exclude the _deps folder from cpm.cmake from being checked with cppcheck?
my configure command:
/usr/bin/cmake --no-warn-unused-cli -DUSE_CCACHE=ON -DUSE_STATIC_ANALYZER=cppcheck -DCPPCHECK_ARGS=--enable=all -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/bin/gcc-9 -DCMAKE_CXX_COMPILER:FILEPATH=/bin/g++-9 -H/home/hub/Downloads/ModernCppStarter-master/test -B/home/hub/Downloads/ModernCppStarter-master/build -G Ninjaexample of output (check doctest in _deps):
i tried the -i _deps option without success. any idea what i am missing?
thx for all the tools!
All reactions