ENH: out of source build for paraview plugins

- more consistent with the rest of the OpenFOAM source tree

- improve wmake / wclean behaviour
This commit is contained in:
Mark Olesen
2016-06-20 11:18:24 +02:00
parent f317958d5a
commit 726aa8cdb9
8 changed files with 71 additions and 24 deletions

View File

@ -4,8 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source the wmake functions
. $WM_DIR/scripts/wmakeFunctions
(
# Where are the generated files stored?
findObjectDir dummy.C
rm -rf "$objectsDir" > /dev/null 2>&1
)
# Where are the generated files stored?
findObjectDir $PWD
rm -rf "$objectsDir" > /dev/null 2>&1
#------------------------------------------------------------------------------

View File

@ -4,11 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source the wmake functions
. $WM_DIR/scripts/wmakeFunctions
# Store current directory
# The source directory
sourceDir=$PWD
# Where are any generated files stored?
findObjectDir dummy.C
findObjectDir $sourceDir
depDir="$objectsDir"
echo