* BF_QUIET can now be set in user-config.py too.

This commit is contained in:
Nathan Letwory 2008-03-19 17:23:14 +00:00
parent cdc74b9081
commit 285870d53b
2 changed files with 7 additions and 6 deletions

@ -286,7 +286,7 @@ Help(opts.GenerateHelpText(env))
# default is new quieter output, but if you need to see the # default is new quieter output, but if you need to see the
# commands, do 'scons BF_QUIET=0' # commands, do 'scons BF_QUIET=0'
bf_quietoutput = B.arguments.get('BF_QUIET', '1') bf_quietoutput = B.arguments.get('BF_QUIET', '1')
if bf_quietoutput=='1': if env['BF_QUIET']:
B.set_quiet_output(env) B.set_quiet_output(env)
else: else:
if toolset=='msvc': if toolset=='msvc':

@ -59,7 +59,7 @@ def validate_arguments(args, bc):
'WITHOUT_BF_INSTALL', 'WITHOUT_BF_INSTALL',
'WITH_BF_OPENMP', 'WITH_BF_OPENMP',
'WITHOUT_BF_INSTALL', 'WITHOUT_BF_INSTALL',
'BF_FANCY', 'BF_FANCY', 'BF_QUIET'
] ]
arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE', arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE',
@ -306,6 +306,7 @@ def read_opts(cfg, args):
(BoolOption('BF_SPLIT_SRC', 'Split src lib into several chunks if true', 'false')), (BoolOption('BF_SPLIT_SRC', 'Split src lib into several chunks if true', 'false')),
(BoolOption('WITHOUT_BF_INSTALL', 'dont install if true', 'false')), (BoolOption('WITHOUT_BF_INSTALL', 'dont install if true', 'false')),
(BoolOption('BF_FANCY', 'Enable fancy output if true', 'true')), (BoolOption('BF_FANCY', 'Enable fancy output if true', 'true')),
(BoolOption('BF_QUIET', 'Enable silent output if true', 'true')),
(BoolOption('WITH_BF_BINRELOC', 'Enable relocatable binary (linux only)', 'false')), (BoolOption('WITH_BF_BINRELOC', 'Enable relocatable binary (linux only)', 'false')),
) # end of opts.AddOptions() ) # end of opts.AddOptions()