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:
-rw-r--r--SConstruct3
-rwxr-xr-xtools/btools.py6
2 files changed, 7 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 2cacb91d103..57d818d578d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -170,6 +170,9 @@ else:
opts = btools.read_opts(optfiles, B.arguments)
opts.Update(env)
+if not env['BF_FANCY']:
+ B.bc.disable()
+
# disable elbeem (fluidsim) compilation?
if env['BF_NO_ELBEEM'] == 1:
env['CPPFLAGS'].append('-DDISABLE_ELBEEM')
diff --git a/tools/btools.py b/tools/btools.py
index 02d608c3cbc..6ff0f401742 100755
--- a/tools/btools.py
+++ b/tools/btools.py
@@ -55,7 +55,8 @@ def validate_arguments(args, bc):
'BF_VERSE_INCLUDE',
'VERSE_BUILD_BINARY', 'VERSE_BUILD_DIR', 'VERSE_REGEN_PROTO',
'BF_TWEAK_MODE', 'BF_SPLIT_SRC',
- 'WITHOUT_BF_INSTALL'
+ 'WITHOUT_BF_INSTALL',
+ 'BF_FANCY',
]
arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE',
@@ -298,8 +299,9 @@ def read_opts(cfg, args):
(BoolOption('BF_BUILDINFO', 'Buildtime in splash if true', 'true')),
(BoolOption('BF_TWEAK_MODE', 'Enable tweak mode if true', 'false')),
- (BoolOption('BF_SPLIT_SRC', 'Split src lib into several chunks if true', 'false')),
+ (BoolOption('BF_SPLIT_SRC', 'Split src lib into several chunks if true', 'false')),
(BoolOption('WITHOUT_BF_INSTALL', 'dont install if true', 'false')),
+ (BoolOption('BF_FANCY', 'Enable fancy output if true', 'true')),
) # end of opts.AddOptions()