openfoam/applications/utilities/surface/surfaceFeatureExtract/Allwmake
laurence 6a3571b3e9 COMP: Move boost and mpfr library includes from wmake/rules/general/CGAL
This is so that surfaceFeatureExtract will compile without boost/mpfr
2012-04-26 15:10:24 +01:00

31 lines
732 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
if [ -n "$CGAL_ARCH_PATH" ]
then
echo
echo "Compiling surfaceFeatureExtract with CGAL curvature support"
echo
wmake "ENABLE_CURVATURE=-DENABLE_CURVATURE \
EXE_FROUNDING_MATH=-frounding-math \
USE_F2C=-DCGAL_USE_F2C \
CGAL_LIBDIR=-L$CGAL_ARCH_PATH/lib \
LAPACK_LIB=-llapack \
BLAS_LIB=-lblas \
CGAL_LIB=-lCGAL \
CGAL_BOOST_LIB=-lboost_thread \
CGAL_MPFR_LIB=-lmpfr"
else
echo
echo "Compiling surfaceFeatureExtract without CGAL curvature support"
echo
wmake
fi
# ----------------------------------------------------------------- end-of-file