diff options
author | James Cook <james@lindenlab.com> | 2008-08-28 18:01:27 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2008-08-28 18:01:27 +0000 |
commit | ac4766d4354ee1945f1569a94d755e3e7c0cd566 (patch) | |
tree | 7f526587bad41b381a0e115008cb568f8377c52f /indra/develop.py | |
parent | 9dfb138517eac3fb697cfce839c427a31597b5c4 (diff) |
Revert last change to develop.py because it breaks manually passing -DPACKAGE:BOOL=ON on the command line.
Merging revisions 95284-95283 of svn+ssh://svn.lindenlab.com/svn/linden/release into E:\release, respecting ancestry
Diffstat (limited to 'indra/develop.py')
-rwxr-xr-x | indra/develop.py | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/indra/develop.py b/indra/develop.py index fe3bfc894f..2e50fb040b 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -65,8 +65,6 @@ class PlatformSetup(object): build_type = build_types['relwithdebinfo'] standalone = 'FALSE' unattended = 'FALSE' - build_server = 'TRUE' - package = 'FALSE' distcc = True cmake_opts = [] @@ -110,7 +108,6 @@ class PlatformSetup(object): opts=quote(opts), standalone=self.standalone, unattended=self.unattended, - build_server=self.build_server, type=self.build_type.upper(), ) #if simple: @@ -118,7 +115,6 @@ class PlatformSetup(object): return ('cmake -DCMAKE_BUILD_TYPE:STRING=%(type)s ' '-DSTANDALONE:BOOL=%(standalone)s ' '-DUNATTENDED:BOOL=%(unattended)s ' - '-DSERVER:BOOL=%(build_server)s ' '-G %(generator)r %(opts)s %(dir)r' % args) def run(self, command, name=None): @@ -385,7 +381,6 @@ class DarwinSetup(UnixSetup): opts=quote(opts), standalone=self.standalone, unattended=self.unattended, - build_server=self.build_server, universal='', type=self.build_type.upper() ) @@ -397,7 +392,6 @@ class DarwinSetup(UnixSetup): '-DCMAKE_BUILD_TYPE:STRING=%(type)s ' '-DSTANDALONE:BOOL=%(standalone)s ' '-DUNATTENDED:BOOL=%(unattended)s ' - '-DSERVER:BOOL=%(build_server)s ' '%(universal)s ' '%(opts)s %(dir)r' % args) @@ -473,16 +467,12 @@ class WindowsSetup(PlatformSetup): opts=quote(opts), standalone=self.standalone, unattended=self.unattended, - build_server=self.build_server, - package=self.package, ) #if simple: # return 'cmake %(opts)s "%(dir)s"' % args return ('cmake -G "%(generator)s" ' '-DSTANDALONE:BOOL=%(standalone)s ' '-DUNATTENDED:BOOL=%(unattended)s ' - '-DSERVER:BOOL=%(build_server)s ' - '-DPACKAGE:BOOL=%(package)s ' '%(opts)s "%(dir)s"' % args) def find_visual_studio(self, gen=None): @@ -600,10 +590,6 @@ Options: --unattended build unattended, do not invoke any tools requiring a human response -t | --type=NAME build type ("Debug", "Release", or "RelWithDebInfo") - -V | --viewer-only build/configure the viewer, skipping the server, for - Windows/Mac only (Linux has auto-detect) - -P | --package config 'package' target in Windows solution that will - build an installer -N | --no-distcc disable use of distcc -G | --generator=NAME generator name Windows: VC71 or VS2003 (default), VC80 (VS2005) or VC90 (VS2008) @@ -622,8 +608,8 @@ def main(arguments): try: opts, args = getopt.getopt( arguments, - '?hNVPt:G:', - ['help', 'standalone', 'no-distcc', 'viewer-only', 'package', 'unattended', 'type=', 'incredibuild', 'generator=']) + '?hNt:G:', + ['help', 'standalone', 'no-distcc', 'unattended', 'type=', 'incredibuild', 'generator=']) except getopt.GetoptError, err: print >> sys.stderr, 'Error:', err sys.exit(1) @@ -653,10 +639,6 @@ def main(arguments): setup.distcc = False elif o in ('--incredibuild'): setup.incredibuild = True - elif o in ('-V', '--viewer-only'): - setup.build_server = 'FALSE' - elif o in ('-P', '--package'): - setup.package = 'TRUE' else: print >> sys.stderr, 'INTERNAL ERROR: unhandled option', repr(o) sys.exit(1) |