minor adjustments to paraview Allwmake scripts

This commit is contained in:
Mark Olesen
2008-05-23 14:14:27 +02:00
parent 39838b6df2
commit 6441a23cd0
2 changed files with 28 additions and 6 deletions

View File

@ -1,7 +1,18 @@
#!/bin/sh #!/bin/sh
set -x set -x
if [ "$ParaView_VERSION" = "3" -a "$ParaView_DIR" -a -r $ParaView_DIR ] ; then if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
wmake libso vtkPV3Foam then
(cd PV3FoamReader; mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1; cd Make/$WM_OPTIONS; cmake ../..; make) case "$ParaView_VERSION" in
3*)
wmake libso vtkPV3Foam
(
cd PV3FoamReader
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
cd Make/$WM_OPTIONS
cmake ../..
make
)
;;
esac
fi fi

View File

@ -1,7 +1,18 @@
#!/bin/sh #!/bin/sh
set -x set -x
if [ "$ParaView_VERSION" != "3" -a "$ParaView_DIR" -a -r $ParaView_DIR ] ; then if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
wmake libso vtkFoam then
(cd PVFoamReader; mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1; cd Make/$WM_OPTIONS; cmake ../..; make) case "$ParaView_VERSION" in
2*)
wmake libso vtkFoam
(
cd PVFoamReader
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
cd Make/$WM_OPTIONS
cmake ../..
make
)
;;
esac
fi fi