diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-03-01 01:01:47 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-03-01 01:01:47 (GMT) |
commit | efb0071db2ef9b2ef9687e1353724ed18db1ee9b (patch) | |
tree | 88104462b1961c598053143bfacb03286dcb821b /src/engine/SCons/Script | |
parent | f6027721b125af34862d1ba7ca5ba2205a09e1fe (diff) | |
download | SCons-efb0071db2ef9b2ef9687e1353724ed18db1ee9b.zip SCons-efb0071db2ef9b2ef9687e1353724ed18db1ee9b.tar.gz SCons-efb0071db2ef9b2ef9687e1353724ed18db1ee9b.tar.bz2 |
New debug option --debug=duplicate to debug Variant-dir duplication
Diffstat (limited to 'src/engine/SCons/Script')
-rw-r--r-- | src/engine/SCons/Script/Main.py | 2 | ||||
-rw-r--r-- | src/engine/SCons/Script/SConsOptions.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py index 0513e41..0e029b5 100644 --- a/src/engine/SCons/Script/Main.py +++ b/src/engine/SCons/Script/Main.py @@ -656,6 +656,8 @@ def _set_debug_values(options): options.tree_printers.append(TreePrinter()) if "prepare" in debug_values: SCons.Taskmaster.print_prepare = 1 + if "duplicate" in debug_values: + SCons.Node.FS.print_duplicate = 1 def _create_path(plist): path = '.' diff --git a/src/engine/SCons/Script/SConsOptions.py b/src/engine/SCons/Script/SConsOptions.py index fc5f08d..3066c65 100644 --- a/src/engine/SCons/Script/SConsOptions.py +++ b/src/engine/SCons/Script/SConsOptions.py @@ -596,7 +596,7 @@ def Parser(version): "tree" : '; please use --tree=all instead', } - debug_options = ["count", "explain", "findlibs", + debug_options = ["count", "duplicate", "explain", "findlibs", "includes", "memoizer", "memory", "objects", "pdb", "prepare", "presub", "stacktrace", "time"] + list(deprecated_debug_options.keys()) |