From a2dc5f8f8ed3dd6967e7bdb12f50799b80252a6a Mon Sep 17 00:00:00 2001 From: Michel Selten Date: Tue, 9 Mar 2004 20:02:38 +0000 Subject: [PATCH] SCons updates * Default build dir is now: ../build// with 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 --- SConstruct | 7 +++++-- 1 file 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 ()