scons: Remember the options set on the command line.

Save them in config.py
This commit is contained in:
José Fonseca 2011-06-17 20:11:35 +01:00
parent c9be435c79
commit ef4bf40db0

View File

@ -40,6 +40,8 @@ env = Environment(
ENV = os.environ,
)
opts.Save('config.py', env)
# Backwards compatability with old target configuration variable
try:
targets = ARGUMENTS['targets']