diff options
author | José Fonseca <[email protected]> | 2010-02-10 20:23:10 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-02-10 20:23:10 +0000 |
commit | f6a16dfa9714c33a16cae3826dec7806be6c21cd (patch) | |
tree | 5a2df92c3b2977fca41280b76eebe7ae32fd4d8f /SConstruct | |
parent | b44c444a0fd203004612cab86ac78ae3bef2794b (diff) |
scons: Only build progs when explicitly requested in the command line.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct index 2e00ec47bd1..964af7e5918 100644 --- a/SConstruct +++ b/SConstruct @@ -225,8 +225,9 @@ SConscript( duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html ) -SConscript( - 'progs/SConscript', - variant_dir = os.path.join('progs', env['build']), - duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html -) +if 'progs' in COMMAND_LINE_TARGETS: + SConscript( + 'progs/SConscript', + variant_dir = os.path.join('progs', env['build']), + duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html + ) |