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>2006-11-03 11:13:01 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-11-03 11:13:01 +0300
commit7c3cdb21a34809407b2201eaacd49d91013cad46 (patch)
tree592f65ea02c4b74373d505d99463ef8516ace57b /tools
parent10fbfdad10a3060c97b5ff18b21815fba2a52547 (diff)
* control the creation of .bsc files when BF_DEBUG=1 on win32-vc. BF_BSC=1 (default for BF_DEBUG=1) will have .bsc generated, but this takes an awful long time, so BF_BSC=0 will skip that step.
Diffstat (limited to 'tools')
-rw-r--r--tools/Blender.py2
-rwxr-xr-xtools/btools.py5
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index 4e8ac0f5bf2..2d76e474263 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -427,7 +427,7 @@ class BlenderEnvironment(SConsEnvironment):
lenv.Append(LIBS = lenv['BF_QUICKTIME_LIB'])
lenv.Append(LIBPATH = lenv['BF_QUICKTIME_LIBPATH'])
prog = lenv.Program(target=builddir+'bin/'+progname, source=sources)
- if lenv['BF_DEBUG'] and lenv['OURPLATFORM']=='win32-vc':
+ if lenv['BF_DEBUG'] and lenv['OURPLATFORM']=='win32-vc' and lenv['BF_BSC']:
f = lenv.File(progname + '.bsc', builddir)
brs = lenv.Command(f, prog, [bsc])
SConsEnvironment.Default(self, brs)
diff --git a/tools/btools.py b/tools/btools.py
index 6b4dfd0cb46..9a454baad1b 100755
--- a/tools/btools.py
+++ b/tools/btools.py
@@ -48,7 +48,8 @@ def validate_arguments(args, bc):
arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE',
'BF_INSTALLDIR', 'BF_TOOLSET', 'BF_BINNAME',
- 'BF_BUILDDIR', 'BF_FANCY', 'BF_QUICK', 'BF_PROFILE', 'BF_DEBUG', 'BF_DEBUG_FLAGS',
+ 'BF_BUILDDIR', 'BF_FANCY', 'BF_QUICK', 'BF_PROFILE',
+ 'BF_DEBUG_FLAGS', 'BF_BSC',
'BF_PRIORITYLIST', 'BF_BUILDINFO','CC', 'CXX', "BF_QUICKDEBUG", "BF_LISTDEBUG", 'LCGDIR']
all_list = opts_list + arg_list
@@ -275,6 +276,8 @@ def read_opts(cfg, args):
(BoolOption('BF_DEBUG', 'Add debug flags if true', 'false')),
('BF_DEBUG_FLAGS', 'Debug flags', ''),
+
+ (BoolOption('BF_BSC', 'Create .bsc files (msvc only)', 'true')),
('BF_BUILDDIR', 'Build dir', ''),
('BF_INSTALLDIR', 'Installation dir', ''),