diff options
author | Steven Knight <knight@baldmt.com> | 2004-03-23 05:23:20 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-03-23 05:23:20 (GMT) |
commit | 6cb2c3b91699f1221810f3d1a20bcf3fc6c4e148 (patch) | |
tree | 9f6d601ec3b50d626b2612a2230c81050d235d5e /doc/man | |
parent | 837e39eaf030cafcf619ddb390cc8a5854784185 (diff) | |
download | SCons-6cb2c3b91699f1221810f3d1a20bcf3fc6c4e148.zip SCons-6cb2c3b91699f1221810f3d1a20bcf3fc6c4e148.tar.gz SCons-6cb2c3b91699f1221810f3d1a20bcf3fc6c4e148.tar.bz2 |
Add a --debug= option to print commands before substitution. (Gary Oberbrunner)
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/scons.1 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index c12595e..3f8b282 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -494,11 +494,20 @@ This only works when run under Python 2.1 or later. Re-run SCons under the control of the .RI pdb Python debugger. -The ---debug=pdb -argument will be stripped from the command-line, -but all other arguments will be passed in-order -to the SCons invocation run by the debugger. +.EE + +.TP +--debug=presub +Print the raw command line used to build each target +before the construction environment variables are substituted. +Also shows which targets are being built by this command. +Output looks something like this: +.ES +$ scons --debug=presub +Building myprog.o with action(s): + $SHCC $SHCCFLAGS $CPPFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES +... +.EE .TP --debug=time |