mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
ENH: add -suffix option for makeParaView and makeVTK
- simple means of distinguishing between types of builds (mesa, mpi, python).
This commit is contained in:
@ -108,6 +108,7 @@ options:
|
||||
-version VER specify an alternative version (current value: $ParaView_VERSION)
|
||||
-major VER specify an alternative major version for special builds
|
||||
-buildType NAME specify the build type (default: Release)
|
||||
-suffix NAME specify a suffix to distinguish the build
|
||||
-help
|
||||
|
||||
The -no-FEATURE option can be used to forcibly disable these features:
|
||||
@ -127,7 +128,7 @@ For finer control, the build stages can be selected or deselected individually:
|
||||
|
||||
* Make and install paraview-$ParaView_VERSION located under
|
||||
\$WM_THIRD_PARTY_DIR/ParaView-$ParaView_VERSION
|
||||
-> \$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/paraview-$ParaView_VERSION
|
||||
-> \$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/paraview-$ParaView_VERSION$BUILD_SUFFIX
|
||||
|
||||
To make a different paraview version, simply specify on the command-line.
|
||||
For example,
|
||||
@ -300,6 +301,11 @@ do
|
||||
BUILD_TYPE="$2"
|
||||
shift
|
||||
;;
|
||||
-suffix)
|
||||
[ "$#" -ge 2 ] || die "'$1' option requires an argument"
|
||||
setBuildSuffix "$2"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
die "unknown option/argument: '$1'"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user