Cache command line arguments given to scon in args.cache
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@598 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
369a6d2883
commit
284669181e
|
@ -83,7 +83,7 @@ if sys.platform == 'darwin':
|
||||||
lib_paths = include_paths
|
lib_paths = include_paths
|
||||||
|
|
||||||
# handle command line options
|
# handle command line options
|
||||||
vars = Variables('custom.py')
|
vars = Variables('args.cache')
|
||||||
vars.AddVariables(
|
vars.AddVariables(
|
||||||
BoolVariable('verbose', 'Set for compilation line', False),
|
BoolVariable('verbose', 'Set for compilation line', False),
|
||||||
BoolVariable('debug', 'Set for debug build', False),
|
BoolVariable('debug', 'Set for debug build', False),
|
||||||
|
@ -95,9 +95,6 @@ vars.AddVariables(
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
#compileFlags += [ '-W' + warning for warning in warnings ]
|
|
||||||
|
|
||||||
env = Environment(
|
env = Environment(
|
||||||
CC = 'gcc',
|
CC = 'gcc',
|
||||||
CXX = 'g++',
|
CXX = 'g++',
|
||||||
|
@ -116,6 +113,8 @@ env = Environment(
|
||||||
VERSION = version,
|
VERSION = version,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
vars.Save('args.cache', env)
|
||||||
|
|
||||||
# verbose compile
|
# verbose compile
|
||||||
if not env['verbose']:
|
if not env['verbose']:
|
||||||
env['CCCOMSTR'] = "Compiling $TARGET"
|
env['CCCOMSTR'] = "Compiling $TARGET"
|
||||||
|
|
Loading…
Reference in New Issue