forked from bartvdbraak/blender
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
This commit is contained in:
parent
98bed4ca32
commit
a2dc5f8f8e
@ -5,10 +5,13 @@ import sys
|
|||||||
from distutils import sysconfig
|
from distutils import sysconfig
|
||||||
|
|
||||||
# Build directory.
|
# 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.
|
# Blender version.
|
||||||
config_file = 'config.opts'
|
|
||||||
version='2.32'
|
version='2.32'
|
||||||
|
|
||||||
sdl_env = Environment ()
|
sdl_env = Environment ()
|
||||||
|
Loading…
Reference in New Issue
Block a user