mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user