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
path: root/tools
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2007-04-05 09:14:50 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2007-04-05 09:14:50 +0400
commit581970a64000e7637c5edfc6dfa852bc354d0cee (patch)
tree8567f2b48bf5907c20a4badd6da6d868a9b02205 /tools
parentd31355fa247f6b84a93e480b17843cb3f7b65a6c (diff)
=== SCons ===
* enable TWEAK_MODE with BF_TWEAK_MODE=1 on cmd-line. Can also be specified in user-config.py
Diffstat (limited to 'tools')
-rw-r--r--tools/Blender.py2
-rwxr-xr-xtools/btools.py8
2 files changed, 7 insertions, 3 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index a578139bdb8..87181b7dc0d 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -142,7 +142,7 @@ def setup_syslibs(lenv):
lenv['BF_PNG_LIB'],
lenv['BF_ZLIB_LIB']
]
- if lenv['BF_DEBUG'] and lenv['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
+ if lenv['BF_DEBUG']==1 and lenv['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
syslibs.append(lenv['BF_PYTHON_LIB']+'_d')
else:
syslibs.append(lenv['BF_PYTHON_LIB'])
diff --git a/tools/btools.py b/tools/btools.py
index 0a3e6793137..fba884ed09b 100755
--- a/tools/btools.py
+++ b/tools/btools.py
@@ -44,7 +44,9 @@ def validate_arguments(args, bc):
'C_WARN', 'CC_WARN', 'LLIBS', 'PLATFORM_LINKFLAGS',
'BF_PROFILE_FLAGS', 'LCGDIR', 'WITH_BF_VERSE',
'BF_VERSE_INCLUDE',
- 'VERSE_BUILD_BINARY', 'VERSE_BUILD_DIR', 'VERSE_REGEN_PROTO']
+ 'VERSE_BUILD_BINARY', 'VERSE_BUILD_DIR', 'VERSE_REGEN_PROTO',
+ 'BF_TWEAK_MODE'
+ ]
arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE',
'BF_INSTALLDIR', 'BF_TOOLSET', 'BF_BINNAME',
@@ -287,7 +289,9 @@ def read_opts(cfg, args):
('CC', 'C compiler to use', ''),
('CXX', 'C++ compiler to use', ''),
- (BoolOption('BF_BUILDINFO', 'Buildtime in splash if true', 'true'))
+ (BoolOption('BF_BUILDINFO', 'Buildtime in splash if true', 'true')),
+
+ (BoolOption('BF_TWEAK_MODE', 'Enable tweak mode if true', 'false')),
) # end of opts.AddOptions()