From f00a49baaaf4b2f8d8a6a6265255fa7085a79bf8 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 3 Dec 2012 12:04:15 +0000 Subject: Add exhaustive command line options description in --help message... --- build_files/build_environment/install_deps.sh | 53 ++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) (limited to 'build_files/build_environment') diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index b3d13af8af2..80e8ae91e97 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -32,7 +32,56 @@ or use --source/--install options, if you want to use other paths! Number of threads for building: \$THREADS (automatically detected, use --threads= 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 , --source= + Use a specific path where to store downloaded libraries sources (defaults to '\$SRC'). + + -i , --install= + 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" @@ -134,6 +183,8 @@ while true; do INFO "" INFO "`eval _echo "$COMMON_INFO"`" INFO "" + INFO "`eval _echo "$ARGUMENTS_INFO"`" + INFO "" exit 0 ;; --with-osl) -- cgit v1.2.3