ENH: add -suffix option for makeParaView and makeVTK

- simple means of distinguishing between types of builds
  (mesa, mpi, python).
This commit is contained in:
mark
2017-01-19 18:27:11 +01:00
parent fc3ea2f182
commit 9926569ca1
9 changed files with 47 additions and 25 deletions

View File

@ -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'"
;;