diff options
| author | Christian Goetze <cg@lindenlab.com> | 2008-06-12 21:48:58 +0000 | 
|---|---|---|
| committer | Christian Goetze <cg@lindenlab.com> | 2008-06-12 21:48:58 +0000 | 
| commit | 7bab07aedc7764dcfeae3df8cdf8c3ed8211df57 (patch) | |
| tree | aa95b0d6a355ed6a801e8a6841a53ae03388d847 | |
| parent | fbf15572d905799257c07d1ddfb9dea0007e89fe (diff) | |
comment out the "simple" cases - it is never as simple as that.
| -rwxr-xr-x | indra/develop.py | 23 | 
1 files changed, 13 insertions, 10 deletions
| diff --git a/indra/develop.py b/indra/develop.py index 1f9b08c59c..fb2319ccf6 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -109,8 +109,8 @@ class PlatformSetup(object):              unattended=self.unattended,              type=self.build_type.upper(),              ) -        if simple: -            return 'cmake %(opts)s %(dir)r' % args +        #if simple: +        #    return 'cmake %(opts)s %(dir)r' % args          return ('cmake -DCMAKE_BUILD_TYPE:STRING=%(type)s '                  '-DSTANDALONE:BOOL=%(standalone)s '                  '-DUNATTENDED:BOOL=%(unattended)s ' @@ -262,8 +262,11 @@ class LinuxSetup(UnixSetup):                  gcc41 = distcc + self.find_in_path('g++-4.1', 'g++', True)                  args.update({'cxx': ' '.join(gcc41), 'server':'FALSE',                               'viewer':'TRUE'}) -        if simple: -            return 'cmake %(opts)s %(dir)r' % args +        #if simple: +        #    return (('cmake %(opts)s ' +        #             '-DSERVER:BOOL=%(server)s '  +        #             '-DVIEWER:BOOL=%(viewer)s ' +        #             '%(dir)r') % args)          cmd = (('cmake -DCMAKE_BUILD_TYPE:STRING=%(type)s '                  '-G %(generator)r -DSERVER:BOOL=%(server)s '                  '-DVIEWER:BOOL=%(viewer)s -DSTANDALONE:BOOL=%(standalone)s ' @@ -371,8 +374,8 @@ class DarwinSetup(UnixSetup):              unattended=self.unattended,              type=self.build_type.upper()              ) -        if simple: -            return 'cmake %(opts)s %(dir)r' % args +        #if simple: +        #    return 'cmake %(opts)s %(dir)r' % args          return ('cmake -G %(generator)r '                  '-DCMAKE_BUILD_TYPE:STRING=%(type)s '                  '-DSTANDALONE:BOOL=%(standalone)s ' @@ -452,8 +455,8 @@ class WindowsSetup(PlatformSetup):              standalone=self.standalone,              unattended=self.unattended,              ) -        if simple: -            return 'cmake %(opts)s "%(dir)s"' % args +        #if simple: +        #    return 'cmake %(opts)s "%(dir)s"' % args          return ('cmake -G "%(generator)s" '                  '-DSTANDALONE:BOOL=%(standalone)s '                  '-DUNATTENDED:BOOL=%(unattended)s ' @@ -550,8 +553,8 @@ class CygwinSetup(WindowsSetup):              standalone=self.standalone,              unattended=self.unattended,              ) -        if simple: -            return 'cmake %(opts)s "%(dir)s"' % args +        #if simple: +        #    return 'cmake %(opts)s "%(dir)s"' % args          return ('cmake -G "%(generator)s" '                  '-DUNATTENDED:BOOl=%(unattended)s '                  '-DSTANDALONE:BOOL=%(standalone)s ' | 
