I've searched, but can't seem to find..
Short of re-compiling the source of course, is there a way to change the arguments of a specific plugin?
In this code I would like to add --force to cppcheck?
Thanks for any advice!
No, you can't, you have to change the code and them compile it.
In theory yes, create a script file with same name as exec the CB program calls the script file.
And, the script file calls the exec. Note, in this exact instance it might not work.
NOTE: This is NOT for adding a command line argument to the plugin; but, adding a command line argument to the exe called by the plugin.
Tim S.
Quote from: oBFusCATed on January 29, 2012, 02:06:28 PM
No, you can't, you have to change the code and them compile it.
True, but it should be very easy to patch. E.g. prompting for additional parameter before running
cppcheck should be a 3-5 liner. Patches are welcome.
Thanks for the replies, and yes it should be an easy patch..
After looking at the code, I found this dirty workaround...
I added the following include path (although I'm sure it will break my build...):
Quote./" --force "./
Worked good to add the argument I wanted. Thanks to all.