Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
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 ()