Commit 01b02a9c authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: add debug flag for repeating runTimePostProcessing rebuilds

- avoids removal of files and the dummy fallback
parent 79b3fe89
...@@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory ...@@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
echo "======================================================================" echo "======================================================================"
echo "${PWD##*/} : $PWD" echo "${PWD##*/} : $PWD"
unset depend unset depend runTimePostProDebug
if [ -d "$VTK_DIR" ] if [ -d "$VTK_DIR" ]
then then
...@@ -17,9 +17,12 @@ then ...@@ -17,9 +17,12 @@ then
depend="ParaView_DIR=$ParaView_DIR" depend="ParaView_DIR=$ParaView_DIR"
fi fi
# Or force use of dummy only # Force use of dummy only
# unset depend # unset depend
# For rebuilding (on error) instead of dropping back to dummy
# runTimePostProDebug=true
if [ "$targetType" = objects ] if [ "$targetType" = objects ]
then then
depend=ignore depend=ignore
...@@ -31,7 +34,10 @@ then ...@@ -31,7 +34,10 @@ then
echo echo
echo " WARNING: incomplete build of VTK-based post-processing" echo " WARNING: incomplete build of VTK-based post-processing"
echo echo
depend="dummy" if [ -z "$runTimePostProDebug" ]
then
depend="dummy"
fi
} }
else else
echo "==> skip runTimePostProcessing (needs cmake)" echo "==> skip runTimePostProcessing (needs cmake)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment