foamyHexMesh: Updated to compile against CGAL 5.0+

CGAL and Boost are now used header-only. The minimum supported version
of CGAL is now 4.9.
This commit is contained in:
Will Bainbridge
2020-05-07 17:01:12 +01:00
parent 4c2fae3d06
commit 83bd225910
7 changed files with 41 additions and 113 deletions

View File

@ -4,6 +4,24 @@ cd ${0%/*} || exit 1 # Run from this directory
# Parse arguments for library compilation
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
# Get BOOST_ARCH_PATH, CGAL_ARCH_PATH
if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config.sh/CGAL`
then
. $settings
if [ -n "$BOOST_ARCH_PATH" ]
then
echo " using BOOST_ARCH_PATH=$BOOST_ARCH_PATH"
fi
if [ -n "$CGAL_ARCH_PATH" ]
then
echo " using CGAL_ARCH_PATH=$CGAL_ARCH_PATH"
fi
else
echo
echo " Error: no config.sh/CGAL settings"
echo
fi
wmake $targetType conformalVoronoiMesh
wmake $targetType conformalVoronoi2DMesh

View File

@ -6,7 +6,6 @@ CGAL_INEXACT = -DCGAL_INEXACT
include $(GENERAL_RULES)/CGAL
EXE_INC = \
${ROUNDING_MATH} \
${EXE_NDEBUG} \