mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
ENH: also support compilation of ParaView-vX.Y.Z source directories (issue #10)
- The ParaView sources mostly unpack into ParaView-v5.2.0, so support this directly without forcing people to rename the directory first.
This commit is contained in:
10
makeVTK
10
makeVTK
@ -26,16 +26,18 @@
|
||||
# makeVTK
|
||||
#
|
||||
# Description
|
||||
# Make and install VTK
|
||||
# - place the VTK source under $WM_THIRD_PARTY_DIR/VTK-VERSION
|
||||
# Make and install VTK.
|
||||
# The VTK sources should be located under one of these locations:
|
||||
# - $WM_THIRD_PARTY_DIR/ParaView-VERSION
|
||||
# - $WM_THIRD_PARTY_DIR/ParaView-vVERSION
|
||||
#
|
||||
# To use the VTK source from the ParaView source tree, simply make an
|
||||
# appropriate link first. For example,
|
||||
#
|
||||
# ln -s ParaView-5.1.0/VTK VTK-7.1.0
|
||||
# ln -s ParaView-v5.2.0/VTK VTK-7.1.0
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
# run from third-party directory only
|
||||
# Run from third-party directory only
|
||||
cd ${0%/*} || exit 1
|
||||
wmakeCheckPwd "$WM_THIRD_PARTY_DIR" || {
|
||||
echo "Error: Current directory is not \$WM_THIRD_PARTY_DIR"
|
||||
|
||||
Reference in New Issue
Block a user