[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52742] trunk/blender/build_files/ build_environment/install_deps.sh: Add exhaustive command line options description in --help message...

Bastien Montagne montagne29 at wanadoo.fr
Mon Dec 3 13:04:16 CET 2012


Revision: 52742
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52742
Author:   mont29
Date:     2012-12-03 12:04:15 +0000 (Mon, 03 Dec 2012)
Log Message:
-----------
Add exhaustive command line options description in --help message...

Modified Paths:
--------------
    trunk/blender/build_files/build_environment/install_deps.sh

Modified: trunk/blender/build_files/build_environment/install_deps.sh
===================================================================
--- trunk/blender/build_files/build_environment/install_deps.sh	2012-12-03 12:03:16 UTC (rev 52741)
+++ trunk/blender/build_files/build_environment/install_deps.sh	2012-12-03 12:04:15 UTC (rev 52742)
@@ -32,8 +32,57 @@
 
 Number of threads for building: \$THREADS (automatically detected, use --threads=<nbr> to override it).
 Building OSL: \$BUILD_OSL (use --with-osl option to enable it).
-All static linking: \$ALL_STATIC (use --all-static option to enable it).\""
+All static linking: \$ALL_STATIC (use --all-static option to enable it).
 
+Use --help to show all available options!\""
+
+ARGUMENTS_INFO="\"COMMAND LINE ARGUMENTS:
+    -h, --help
+        Show this message and exit.
+
+    -s <path>, --source=<path>
+        Use a specific path where to store downloaded libraries sources (defaults to '\$SRC').
+
+    -i <path>, --install=<path>
+        Use a specific path where to install built libraries (defaults to '\$INST').
+
+    -t n, --threads=n
+        Use a specific number of threads when building the libraries (auto-detected as '\$THREADS').
+
+    --with-osl
+        Try to install or build the OpenShadingLanguage libraries (and their dependencies).
+        Still experimental!
+
+    --all-static
+        Build libraries as statically as possible, to create static builds of Blender.
+
+    --force-python
+        Force the rebuild of Python.
+
+    --force-boost
+        Force the rebuild of Boost.
+
+    --force-ocio
+        Force the rebuild of OpenColorIO.
+
+    --force-oiio
+        Force the rebuild of OpenImageIO.
+
+    --force-llvm
+        Force the rebuild of LLVM.
+
+    --force-osl
+        Force the rebuild of OpenShadingLanguage.
+
+    --force-ffmpeg
+        Force the rebuild of FFMpeg.
+
+    Note about the --force-foo options:
+        * They obviously only have an effect if those libraries are built by this script
+          (i.e. if there is no available and satisfatory package)!
+        * If the “force-rebuilt” library is a dependency of anothers, it will force the rebuild
+          of those libraries too (e.g. --force-boost will also rebuild oiio and osl...).\""
+
 PYTHON_VERSION="3.3.0"
 PYTHON_VERSION_MIN="3.3"
 PYTHON_SOURCE="http://python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.bz2"
@@ -134,6 +183,8 @@
       INFO ""
       INFO "`eval _echo "$COMMON_INFO"`"
       INFO ""
+      INFO "`eval _echo "$ARGUMENTS_INFO"`"
+      INFO ""
       exit 0
     ;;
     --with-osl)




More information about the Bf-blender-cvs mailing list