mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-12-04 05:33:41 +00:00
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.
This commit is contained in:
parent
ee67167358
commit
8c7d39cc83
13
SConstruct
13
SConstruct
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user