mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: Allwmake: pass through targetType
This commit is contained in:
@ -1,12 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments # (for error catching)
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/have_fftw
|
. $WM_PROJECT_DIR/wmake/scripts/have_fftw
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
if have_fftw
|
if have_fftw
|
||||||
then
|
then
|
||||||
wmake
|
wmake $targetType
|
||||||
else
|
else
|
||||||
echo "==> skip noise utility (no FFTW)"
|
echo "==> skip noise utility (no FFTW)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -1,12 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments # (for error catching)
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/have_fftw
|
. $WM_PROJECT_DIR/wmake/scripts/have_fftw
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
if have_fftw
|
if have_fftw
|
||||||
then
|
then
|
||||||
wmake
|
wmake $targetType
|
||||||
else
|
else
|
||||||
echo "==> skip boxTurb utility (no FFTW)"
|
echo "==> skip boxTurb utility (no FFTW)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments # (for error catching)
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/have_cgal
|
. $WM_PROJECT_DIR/wmake/scripts/have_cgal
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -14,6 +15,6 @@ else
|
|||||||
export COMP_FLAGS="-DNO_CGAL"
|
export COMP_FLAGS="-DNO_CGAL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user