I tried to use cppcheck-build-dir argument.
../cppcheck --cppcheck-build-dir=test main.cpp Checking main.cpp ...
The thing is that first time I did not create "test" directory so this execution did not use this "cache". So I was a little confused.
Could we create directory if it does not exist and add info?
For example
../cppcheck --cppcheck-build-dir=test main.cpp "test" directory does not exist, creating. Checking main.cpp ...
I am not sure.. maybe. It seems a bit ugly to just create it. In the GUI you get a question.
Log in to post a comment.
I tried to use cppcheck-build-dir argument.
../cppcheck --cppcheck-build-dir=test main.cpp Checking main.cpp ...
The thing is that first time I did not create "test" directory so this execution did not use this "cache".
So I was a little confused.
Could we create directory if it does not exist and add info?
For example
../cppcheck --cppcheck-build-dir=test main.cpp "test" directory does not exist, creating. Checking main.cpp ...
Last edit: pokopa2803 2020-09-28
I am not sure.. maybe. It seems a bit ugly to just create it. In the GUI you get a question.