Commit 8c7d39cc authored by José Fonseca's avatar José Fonseca

scons: A less magic way of not building progs by default.

The problem with the old way is that passing 'progs/subdir' as argument
would fail.
parent ee671673
......@@ -225,9 +225,10 @@ SConscript(
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
)
env.Default('src')
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
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment