diff options
| author | nakeee <nakeee@gmail.com> | 2008-09-21 15:55:27 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2008-09-21 15:55:27 +0000 |
| commit | 284669181e4e8ec21bf021e7f240e8e0cfeb71aa (patch) | |
| tree | 9cf14f7199ff41d86f0c4c622917518c50596b0c | |
| parent | 369a6d28834208673114cb11db638d56acebd340 (diff) | |
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
| -rw-r--r-- | SConstruct | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct index 988ad05131..23d0f474fb 100644 --- a/SConstruct +++ b/SConstruct @@ -83,7 +83,7 @@ if sys.platform == 'darwin': lib_paths = include_paths # handle command line options -vars = Variables('custom.py') +vars = Variables('args.cache') vars.AddVariables( BoolVariable('verbose', 'Set for compilation line', False), BoolVariable('debug', 'Set for debug build', False), @@ -95,9 +95,6 @@ vars.AddVariables( ) - -#compileFlags += [ '-W' + warning for warning in warnings ] - env = Environment( CC = 'gcc', CXX = 'g++', @@ -116,6 +113,8 @@ env = Environment( VERSION = version, ) +vars.Save('args.cache', env) + # verbose compile if not env['verbose']: env['CCCOMSTR'] = "Compiling $TARGET" |
