diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-12-03 16:04:15 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-12-03 16:04:15 +0400 |
commit | f00a49baaaf4b2f8d8a6a6265255fa7085a79bf8 (patch) | |
tree | a790c7c9fac424f4be42b90bcf1a855ea6213413 /build_files | |
parent | 46d4d7559fa9f72a1040a30ca016a1674356cb71 (diff) |
Add exhaustive command line options description in --help message...
Diffstat (limited to 'build_files')
-rwxr-xr-x | build_files/build_environment/install_deps.sh | 53 |
1 files changed, 52 insertions, 1 deletions
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=<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" @@ -134,6 +183,8 @@ while true; do INFO "" INFO "`eval _echo "$COMMON_INFO"`" INFO "" + INFO "`eval _echo "$ARGUMENTS_INFO"`" + INFO "" exit 0 ;; --with-osl) |