Menu

cppcheck-build-dir args

pokopa2803
2020-09-28
2020-09-30
  • pokopa2803

    pokopa2803 - 2020-09-28

    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
  • Daniel Marjamäki

    I am not sure.. maybe. It seems a bit ugly to just create it. In the GUI you get a question.

     
    👍
    1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.