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:
8
makeVTK
8
makeVTK
@ -88,6 +88,7 @@ options:
|
||||
-verbose verbose output in Makefiles
|
||||
-version VER specify an alternative version (current value: $VTK_VERSION)
|
||||
-buildType NAME specify the build type (default: Release)
|
||||
-suffix NAME specify a suffix to distinguish the build
|
||||
-help
|
||||
|
||||
The -no-FEATURE option can be disable these features (if not already disabled):
|
||||
@ -107,7 +108,7 @@ For finer control, the build stages can be selected or deselected individually:
|
||||
|
||||
* Make and install VTK-$VTK_VERSION located under
|
||||
\$WM_THIRD_PARTY_DIR/VTK-$VTK_VERSION
|
||||
-> \$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/VTK-$VTK_VERSION
|
||||
-> \$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/VTK-$VTK_VERSION$BUILD_SUFFIX
|
||||
|
||||
USAGE
|
||||
exit 1
|
||||
@ -238,6 +239,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