Question

How should I change SConstruct in order to see the details of how each file is compiled?

Currently, scons only outputs a bunch of 'compiling xxx.c ...'.

Was it helpful?

Solution

It's possible with an SConstruct file to do:

SetOption('silent')

which will suppress the output of any command. Is it possible you have one of these floating around somewhere?

Addendum: You can also set the CCOMSTR variable to override the build message for C compiles (there's a different variable for each builder though), and there's even a (not terribly well documented) PRINT_CMD_LINE_FUNC variable which would provide a general override.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top