aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/develop.py
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-09-08 21:03:06 -0700
committerMcCabe Maxsted2011-09-08 21:03:06 -0700
commit701e76557ae6a6cd7f4b18ee275ee122b91495a8 (patch)
tree79d7a5e5b7482dec52f71e2b70f07ff436574da3 /linden/indra/develop.py
parentRevert "Reverted ability to customize the Imprudence client tag color." (diff)
downloadmeta-impy-701e76557ae6a6cd7f4b18ee275ee122b91495a8.zip
meta-impy-701e76557ae6a6cd7f4b18ee275ee122b91495a8.tar.gz
meta-impy-701e76557ae6a6cd7f4b18ee275ee122b91495a8.tar.bz2
meta-impy-701e76557ae6a6cd7f4b18ee275ee122b91495a8.tar.xz
Don't run vstool.exe when using an express version of vc++, by CobraElDiablo from the Astra Viewer
Diffstat (limited to '')
-rwxr-xr-xlinden/indra/develop.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/develop.py b/linden/indra/develop.py
index 6d2ce72..8b23b1d 100755
--- a/linden/indra/develop.py
+++ b/linden/indra/develop.py
@@ -80,6 +80,7 @@ class PlatformSetup(object):
80 project_name = 'Imprudence' 80 project_name = 'Imprudence'
81 distcc = True 81 distcc = True
82 cmake_opts = [] 82 cmake_opts = []
83 using_express = False
83 84
84 def __init__(self): 85 def __init__(self):
85 self.script_dir = os.path.realpath( 86 self.script_dir = os.path.realpath(
@@ -494,6 +495,7 @@ class WindowsSetup(PlatformSetup):
494 for version in 'vc80 vc90 vc100 vc71'.split(): 495 for version in 'vc80 vc90 vc100 vc71'.split():
495 if self.find_visual_studio_express(version): 496 if self.find_visual_studio_express(version):
496 self._generator = version 497 self._generator = version
498 self.using_express = True
497 print 'Building with ', self.gens[version]['gen'] , "Express edition" 499 print 'Building with ', self.gens[version]['gen'] , "Express edition"
498 break 500 break
499 else: 501 else:
@@ -570,6 +572,7 @@ class WindowsSetup(PlatformSetup):
570 key = _winreg.OpenKey(reg, key_str) 572 key = _winreg.OpenKey(reg, key_str)
571 value = _winreg.QueryValueEx(key, value_str)[0]+"IDE" 573 value = _winreg.QueryValueEx(key, value_str)[0]+"IDE"
572 print 'Found: %s' % value 574 print 'Found: %s' % value
575 self.using_express = True
573 return value 576 return value
574 except WindowsError, err: 577 except WindowsError, err:
575 print >> sys.stderr, "Didn't find ", self.gens[gen]['gen'] 578 print >> sys.stderr, "Didn't find ", self.gens[gen]['gen']
@@ -618,7 +621,8 @@ class WindowsSetup(PlatformSetup):
618 '''Override to add the vstool.exe call after running cmake.''' 621 '''Override to add the vstool.exe call after running cmake.'''
619 PlatformSetup.run_cmake(self, args) 622 PlatformSetup.run_cmake(self, args)
620 if self.unattended == 'OFF': 623 if self.unattended == 'OFF':
621 self.run_vstool() 624 if self.using_express == False:
625 self.run_vstool()
622 626
623 def run_vstool(self): 627 def run_vstool(self):
624 for build_dir in self.build_dirs(): 628 for build_dir in self.build_dirs():