- use "-pvMAJ.MIN" suffix for similarity with the paraview convention - use sentinel file to ensure clean change of intermediate targets - ensure all library files are being properly removed
18 lines
520 B
Bash
Executable File
18 lines
520 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source the wmake functions
|
|
. $WM_PROJECT_DIR/wmake/scripts/wmakeFunctions
|
|
|
|
# Cleanup client-server and/or combined plugins
|
|
rm -f $FOAM_LIBBIN/libPVblockMeshReader* 2>/dev/null
|
|
|
|
rm -rf PVblockMeshReader/Make # safety: old build location
|
|
wclean libso vtkPVblockMesh
|
|
|
|
# Cleanup generated files
|
|
findObjectDir $PWD # remove entire top-level
|
|
rm -rf "$objectsDir" > /dev/null 2>&1
|
|
|
|
#------------------------------------------------------------------------------
|