Skip to content
Snippets Groups Projects
Commit 0e05ef68 authored by James Cook's avatar James Cook
Browse files

Added help text for -DSERVER:BOOL=FALSE and -DPACKAGE:BOOL=TRUE options. No...

Added help text for -DSERVER:BOOL=FALSE and -DPACKAGE:BOOL=TRUE options.  No actual code changes.  Reviewed with Kelly.
parent c4d1e196
No related branches found
No related tags found
No related merge requests found
...@@ -601,6 +601,13 @@ def cmake_commandline(self, src_dir, build_dir, opts, simple): ...@@ -601,6 +601,13 @@ def cmake_commandline(self, src_dir, build_dir, opts, simple):
configure configure project by running cmake configure configure project by running cmake
If you do not specify a command, the default is "configure". 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): def main(arguments):
...@@ -612,6 +619,9 @@ def main(arguments): ...@@ -612,6 +619,9 @@ def main(arguments):
['help', 'standalone', 'no-distcc', 'unattended', 'type=', 'incredibuild', 'generator=']) ['help', 'standalone', 'no-distcc', 'unattended', 'type=', 'incredibuild', 'generator='])
except getopt.GetoptError, err: except getopt.GetoptError, err:
print >> sys.stderr, 'Error:', 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) sys.exit(1)
for o, a in opts: for o, a in opts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment