Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenFOAM-plus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Development
OpenFOAM-plus
Merge requests
!66
BUG: paraview plugin not being built in merged version (closes
#258
)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
BUG: paraview plugin not being built in merged version (closes
#258
)
issue258-merge-foundation
into
merge-foundation
Overview
2
Commits
1
Changes
2
Merged
Mark OLESEN
requested to merge
issue258-merge-foundation
into
merge-foundation
8 years ago
Overview
2
Commits
1
Changes
2
Expand
change in configuration got missed
0
0
Merge request reports
Compare
merge-foundation
merge-foundation (base)
and
latest version
latest version
1fad5ef2
1 commit,
8 years ago
2 files
+
21
−
33
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
applications/utilities/postProcessing/graphics/PV3Readers/Allwmake
+
10
−
16
Options
@@ -41,31 +41,25 @@ canBuildPlugin()
# -----------------------------------------------------------------------------
# major version as per paraview include directory:
# Eg, "PREFIX/include/paraview-3.4" -> "3.4"
major
=
"
${
ParaView_INCLUDE_DIR
##*-
}
"
case
"
$
ParaView_VERSION
"
in
3
*
)
case
"
$
major
"
in
3
.[0-9]
*
)
if
canBuildPlugin
then
[
-n
"
$PV_PLUGIN_PATH
"
]
||
{
echo
"
$0
: PV_PLUGIN_PATH not valid - it is unset"
exit
1
}
# Ensure CMake gets the correct C/C++ compilers
[
-n
"
$WM_CC
"
]
&&
export
CC
=
"
$WM_CC
"
[
-n
"
$WM_CXX
"
]
&&
export
CXX
=
"
$WM_CXX
"
(
wmake
$targetType
vtkPV3Readers
PV3blockMeshReader/Allwmake
$targetType
$*
PV3FoamReader/Allwmake
$targetType
$*
else
echo
"ERROR: ParaView not found in
$ParaView_DIR
"
PV3blockMeshReader/Allwmake
$*
PV3FoamReader/Allwmake
$*
)
fi
;;
*
)
echo
echo
"NOTE: skipping build of ParaView V3 plugin(s)"
echo
"
different version: P
ara
V
iew
_VERSION=
$ParaView_VERSION
"
echo
"
include directory was for p
ara
v
iew
major version '
${
major
:-
none
}
'
"
echo
;;
esac
Loading