How to augment scons' $*COMSTR
问题 I can define a custom build command output by defining $*COMSTR in my environment: env['CXXCOMSTR'] = compile_source_message However, this overrides the message shown for the build command. I want to augment the message instead, e.g. by prefixing it with the target. My goal is to have a message like this: % scons Compiling foo.o cc -o foo.o -c foo.c I tried the following: env['CXXCOMSTR'] = compile_source_message + '\n' + env['CXXCOMSTR'] However, this doesn't work because CXXCOMSTR is not in