From 247125f56cb33e171577bdfae0a5370916cbb212 Mon Sep 17 00:00:00 2001 From: Patrick Sapinski Date: Tue, 1 Dec 2009 01:55:30 -0500 Subject: develop.py support for VS2010 Signed-off-by: Jacek Antonelli --- linden/indra/develop.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'linden') diff --git a/linden/indra/develop.py b/linden/indra/develop.py index 8d432fc..7e7350e 100755 --- a/linden/indra/develop.py +++ b/linden/indra/develop.py @@ -460,11 +460,16 @@ class WindowsSetup(PlatformSetup): 'vc90' : { 'gen' : r'Visual Studio 9 2008', 'ver' : r'9.0' + }, + 'vc100' : { + 'gen' : r'Visual Studio 10', + 'ver' : r'10.0' } } gens['vs2003'] = gens['vc71'] gens['vs2005'] = gens['vc80'] gens['vs2008'] = gens['vc90'] + gens['vs2010'] = gens['vc100'] search_path = r'C:\windows' exe_suffixes = ('.exe', '.bat', '.com') @@ -476,14 +481,14 @@ class WindowsSetup(PlatformSetup): def _get_generator(self): if self._generator is None: - for version in 'vc80 vc90 vc71'.split(): + for version in 'vc80 vc90 vc100 vc71'.split(): if self.find_visual_studio(version): self._generator = version print 'Building with ', self.gens[version]['gen'] break else: print >> sys.stderr, 'Cannot find a Visual Studio installation, testing for express editions' - for version in 'vc80 vc90 vc71'.split(): + for version in 'vc80 vc90 vc100 vc71'.split(): if self.find_visual_studio_express(version): self._generator = version print 'Building with ', self.gens[version]['gen'] , "Express edition" -- cgit v1.1