diff options
author | Michel Selten <michel@mselten.demon.nl> | 2004-03-09 23:02:38 +0300 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2004-03-09 23:02:38 +0300 |
commit | a2dc5f8f8ed3dd6967e7bdb12f50799b80252a6a (patch) | |
tree | 7d972567318c2b959a5955b1f75adf1b1a742992 /SConstruct | |
parent | 98bed4ca3207ff8fe5f842f5b60722ec8d718267 (diff) |
SCons updates
* Default build dir is now: ../build/<platform>/
with <platform> ofcourse the platform you're building on.
This option is still configurable in config.opts. It was just a feature
request.
* Allow the user to specify a different config.opts file from the command
line. This one was at my todo, but Kester was kind enough to implement this
in Tuhopuu2 already. Thanks Kester!
To generate/use a different options file:
scons CONFIG=your_config_options_file
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 4c6caf7363b..fd70b923e78 100644 --- a/SConstruct +++ b/SConstruct @@ -5,10 +5,13 @@ import sys from distutils import sysconfig # Build directory. -root_build_dir = '..' + os.sep + 'build' + os.sep +root_build_dir = '..' + os.sep + 'build' + os.sep + sys.platform + os.sep + +# User configurable options file. This can be controlled by the user by running +# scons with the following argument: CONFIG=user_config_options_file +config_file = ARGUMENTS.get('CONFIG', 'config.opts') # Blender version. -config_file = 'config.opts' version='2.32' sdl_env = Environment () |