Menu

Run cppcheck in the commandline using a project created in the GUI

effemmeffe
2023-09-08
2023-09-08
  • effemmeffe

    effemmeffe - 2023-09-08

    I have a cppcheck project with its includes and defines and undefines, it works fine.
    I would like to run the program via the command line, but I don't want to pass all the parameters using the CLI options, but I would like to feed the GUI project to it.
    Is it possible?

     
  • Daniel Marjamäki

    sure. try this:

    cppcheck --project=yourproject.cppcheck --enable=style
    
     
    • effemmeffe

      effemmeffe - 2023-09-08

      Thanks

       

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.