diff options
Diffstat (limited to 'linden')
-rwxr-xr-x | linden/indra/develop.py | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/linden/indra/develop.py b/linden/indra/develop.py index c3e1341..470f66a 100755 --- a/linden/indra/develop.py +++ b/linden/indra/develop.py | |||
@@ -559,6 +559,8 @@ class WindowsSetup(PlatformSetup): | |||
559 | return self._generator | 559 | return self._generator |
560 | 560 | ||
561 | def _set_generator(self, gen): | 561 | def _set_generator(self, gen): |
562 | if gen == 'nmake': | ||
563 | self._get_generator() | ||
562 | self._generator = gen | 564 | self._generator = gen |
563 | 565 | ||
564 | generator = property(_get_generator, _set_generator) | 566 | generator = property(_get_generator, _set_generator) |
@@ -608,18 +610,19 @@ class WindowsSetup(PlatformSetup): | |||
608 | 610 | ||
609 | return "buildconsole %s.sln /build %s" % (self.project_name, config) | 611 | return "buildconsole %s.sln /build %s" % (self.project_name, config) |
610 | 612 | ||
611 | environment = self.find_visual_studio() | 613 | environment = self.find_visual_studio(self.generator) |
612 | if environment == '': | 614 | if environment == '': |
613 | environment = self.find_visual_studio_express() | 615 | environment = self.find_visual_studio_express(self.generator) |
614 | if environment == '': | 616 | if self.generator != 'nmake': |
615 | print >> sys.stderr, "Something went very wrong during build stage, could not find a Visual Studio?" | 617 | if environment == '': |
616 | else: | 618 | print >> sys.stderr, "Something went very wrong during build stage, could not find a Visual Studio?" |
617 | print >> sys.stderr, "\nSolution generation complete, as you are using an express edition the final\n stages will need to be completed by hand" | 619 | else: |
618 | build_dirs=self.build_dirs(); | 620 | print >> sys.stderr, "\nSolution generation complete, as you are using an express edition the final\n stages will need to be completed by hand" |
619 | print >> sys.stderr, "Solution can now be found in:", build_dirs[0] | 621 | build_dirs=self.build_dirs(); |
620 | print >> sys.stderr, "Set %s as startup project" % self.project_name | 622 | print >> sys.stderr, "Solution can now be found in:", build_dirs[0] |
621 | print >> sys.stderr, "Set build target is Release or RelWithDbgInfo" | 623 | print >> sys.stderr, "Set %s as startup project" % self.project_name |
622 | exit(0) | 624 | print >> sys.stderr, "Set build target is Release or RelWithDbgInfo" |
625 | exit(0) | ||
623 | 626 | ||
624 | if self.generator == 'nmake': | 627 | if self.generator == 'nmake': |
625 | '''Hack around a bug in cmake that I'm surprised did not hit GUI controlled builds.''' | 628 | '''Hack around a bug in cmake that I'm surprised did not hit GUI controlled builds.''' |