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:
authorNathan Letwory <nathan@letworyinteractive.com>2010-12-07 11:37:00 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2010-12-07 11:37:00 +0300
commitc5613de2d5664bd37ef0ceb2343050f314d6345a (patch)
tree441e7a8c4528bd4f496c8d323bec094959e4270f /build_files/scons/tools
parent8d284b7d028812b1935c8533f3bdddeea7a8c79e (diff)
Remove redundant VC_REDIST code, since it's not used anymore.
Diffstat (limited to 'build_files/scons/tools')
-rw-r--r--build_files/scons/tools/btools.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/build_files/scons/tools/btools.py b/build_files/scons/tools/btools.py
index bc0beb422f0..1d716f9a093 100644
--- a/build_files/scons/tools/btools.py
+++ b/build_files/scons/tools/btools.py
@@ -92,8 +92,7 @@ def validate_arguments(args, bc):
'WITH_BF_RAYOPTIMIZATION',
'BF_RAYOPTIMIZATION_SSE_FLAGS',
'BF_NO_ELBEEM',
- 'WITH_BF_CXX_GUARDEDALLOC',
- 'BF_VCREDIST' # Windows-only, and useful only when creating installer
+ 'WITH_BF_CXX_GUARDEDALLOC'
]
# Have options here that scons expects to be lists
@@ -454,8 +453,7 @@ def read_opts(env, cfg, args):
(BoolVariable('WITH_BF_RAYOPTIMIZATION', 'Enable raytracer SSE/SIMD optimization.', False)),
('BF_RAYOPTIMIZATION_SSE_FLAGS', 'SSE flags', ''),
- (BoolVariable('WITH_BF_CXX_GUARDEDALLOC', 'Enable GuardedAlloc for C++ memory allocation tracking.', False)),
- ('BF_VCREDIST', 'Full path to vcredist', '')
+ (BoolVariable('WITH_BF_CXX_GUARDEDALLOC', 'Enable GuardedAlloc for C++ memory allocation tracking.', False))
) # end of opts.AddOptions()
return localopts
@@ -547,12 +545,6 @@ def NSIS_Installer(target=None, source=None, env=None):
ns_cnt = string.replace(ns_cnt, "[DODATAFILES]", datafiles)
- # Setup vcredist part
- vcredist = "File \""+env['BF_VCREDIST'] + "\"\n"
- vcredist += " ExecWait '\"$TEMP\\" + os.path.basename(env['BF_VCREDIST']) + "\" /q'\n"
- vcredist += " Delete \"$TEMP\\" + os.path.basename(env['BF_VCREDIST'])+"\""
- ns_cnt = string.replace(ns_cnt, "[VCREDIST]", vcredist)
-
tmpnsi = os.path.normpath(install_base_dir+os.sep+env['BF_BUILDDIR']+os.sep+"00.blender_tmp.nsi")
new_nsis = open(tmpnsi, 'w')
new_nsis.write(ns_cnt)