Added help text for -DSERVER:BOOL=FALSE and -DPACKAGE:BOOL=TRUE options. No actual code changes. Reviewed with Kelly.

master
James Cook 2008-09-03 18:08:12 +00:00
parent c4d1e19668
commit 0e05ef68f9
1 changed files with 10 additions and 0 deletions

View File

@ -601,6 +601,13 @@ Commands:
configure configure project by running cmake
If you do not specify a command, the default is "configure".
Examples:
Set up a viewer-only project for your system:
develop.py configure -DSERVER:BOOL=FALSE
Set up a Visual Studio 2005 project with package target (to build installer):
develop.py -G vc80 configure -DPACKAGE:BOOL=TRUE
'''
def main(arguments):
@ -612,6 +619,9 @@ def main(arguments):
['help', 'standalone', 'no-distcc', 'unattended', 'type=', 'incredibuild', 'generator='])
except getopt.GetoptError, err:
print >> sys.stderr, 'Error:', err
print >> sys.stderr, """
Note: You must pass -D options to cmake after the "configure" command
For example: develop.py configure -DSERVER:BOOL=FALSE"""
sys.exit(1)
for o, a in opts: