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:
@ -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
|
||||
|
||||
|
||||
@ -6,7 +6,6 @@ CGAL_INEXACT = -DCGAL_INEXACT
|
||||
|
||||
include $(GENERAL_RULES)/CGAL
|
||||
|
||||
|
||||
EXE_INC = \
|
||||
${ROUNDING_MATH} \
|
||||
${EXE_NDEBUG} \
|
||||
|
||||
Reference in New Issue
Block a user