From 0e05ef68f969f241e8d50a271d79ceefac008020 Mon Sep 17 00:00:00 2001
From: James Cook <james@lindenlab.com>
Date: Wed, 3 Sep 2008 18:08:12 +0000
Subject: [PATCH] Added help text for -DSERVER:BOOL=FALSE and
 -DPACKAGE:BOOL=TRUE options.  No actual code changes.  Reviewed with Kelly.

---
 indra/develop.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/indra/develop.py b/indra/develop.py
index 2e50fb040b4..579f1cdf299 100755
--- a/indra/develop.py
+++ b/indra/develop.py
@@ -601,6 +601,13 @@ def cmake_commandline(self, src_dir, build_dir, opts, simple):
   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:
-- 
GitLab