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>2010-07-06 13:19:52 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-07-06 13:19:52 +0400
commitf38511cbed143276fd1391e009a2f57025c19392 (patch)
tree1e471b633f1bec025f0454c9a82561c1774f7f75 /tools
parentb0cee52ecc2e923a1390a95a234a92125bcda3ae (diff)
=== Windows Installer ===
* add info about bitness: 32bit, 64bit or mingw-build
Diffstat (limited to 'tools')
-rw-r--r--tools/btools.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/btools.py b/tools/btools.py
index 8a609ba31ba..03a1a0f0b7a 100644
--- a/tools/btools.py
+++ b/tools/btools.py
@@ -457,6 +457,12 @@ def NSIS_Installer(target=None, source=None, env=None):
if env['OURPLATFORM'] not in ('win32-vc', 'win32-mingw', 'win64-vc'):
print "NSIS installer is only available on Windows."
Exit()
+ if env['OURPLATFORM'] == 'win32-vc':
+ bitness = '32'
+ elif env['OURPLATFORM'] == 'win64-vc':
+ bitness = '64'
+ else:
+ bitness = '-mingw'
start_dir = os.getcwd()
rel_dir = os.path.join(start_dir,'release','windows','installer')
@@ -507,6 +513,7 @@ def NSIS_Installer(target=None, source=None, env=None):
ns_cnt = string.replace(ns_cnt, "[VERSION]", version)
ns_cnt = string.replace(ns_cnt, "[SHORTVERSION]", VERSION)
ns_cnt = string.replace(ns_cnt, "[RELDIR]", os.path.normpath(rel_dir))
+ ns_cnt = string.replace(ns_cnt, "[BITNESS]", bitness)
# do root
rootlist = []