[Scons-users] program change action

Philipp Kraus philipp.kraus at tu-clausthal.de
Thu Feb 13 05:01:20 EST 2014


Hello,

I have a lot of Library and Program calls in different Alias definition within my project and I would like to add some static code analysis with cppcheck.
So I would like to call in place of the Program build command cppcheck with the equal parameters which are passed usually to the Program command.

My idea is, if the parameter --cppcheck is add to the scons command line I will change the Program & Library env build command to use cppcheck.
Is this the correct "scons way" ?

Thanks

Phil



More information about the Scons-users mailing list