SCons less verbose? -
I want to remove SCons from logging long compiling / linking commands.
I followed him on this page:
Here is exactly what I did:
AddOption ("- verbose", action If not GetOption ("verbose_flag"): printed 'test' env ['cXXCOMSTR'] = "----- compilation test ----" - "env ['LINKCOMSTR'] =" Adding $ TARGET "print env.Dump () env.SharedLibrary (..
If SCons ('test' is printed) , And CXXCOMSTR and LINKCOMSTR are updated (checked with dump () (Dump).
But it seems SCOns But just do not care: it still prints full G ++ commands.
Thanks for the help.
CXXCOMSTR
and LINKCOMSTR
are used for a stationary object, set you are set SHCXXCOMSTR
And SHLI NKCOMSTR
.
Comments
Post a Comment