[Scons-users] Bug? Docs: 9.2. Controlling How SCons Prints Build Commands
tshortik at gmx.de
Sat Jul 16 17:03:01 EDT 2016
On 16.07.2016 19:54, Ivan Kravets wrote:
> Could someone explain me how to achieve the results described in the docs?
> In my case, "env['CCCOMSTR'] = "Compiling $TARGET"" prints "Compiling foo.o" and "cc -o foo.o -c foo.c".
here's my try:
env = Environment()
env['CCCOMSTR'] = "Compiling $TARGET"
, which yields
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o foo foo.o
scons: done building targets.
as expected. This works with SCons v2.3.0, as well as with a quite recent version from "trunk".
So I'm currently not able to reproduce your error on my side.
More information about the Scons-users