From bb278906be226cc5ce3af0a623d2d078757191d0 Mon Sep 17 00:00:00 2001 From: graham Date: Mon, 9 Feb 2009 18:07:53 +0000 Subject: [PATCH] Using CGAL-3.4. Requires to be linked to compiled boost thread library. In this commit it is hard-coded to -lboost_thread-gcc43-mt-1_37, i.e. boost version 1.37.0, will need to be parameterised. CGAL does not need to be compiled, as before, and needs the CGAL-3.4/src/files file as before, but the compiler_config.h file, written by cmake, is now included from CGAL/3.4/include/CGAL, where it has been editted to remove the use of GMP. To use the CMP libraries, add -lgmpxx -lmpfr -lgmp to Make/options - there is little (2%) obvious performance benefit to creating a DT with GMP. -frounding-math is a required option - when running in debug assertions failures occur without it when using an exact construction. --- .../utilities/mesh/generation/CV3DMesher/Make/options | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/applications/utilities/mesh/generation/CV3DMesher/Make/options b/applications/utilities/mesh/generation/CV3DMesher/Make/options index 7276797861..2f82e0f676 100644 --- a/applications/utilities/mesh/generation/CV3DMesher/Make/options +++ b/applications/utilities/mesh/generation/CV3DMesher/Make/options @@ -1,5 +1,5 @@ //EXE_DEBUG = -DFULLDEBUG -g -O0 -EXE_NDEBUG = -DNDEBUG +EXE_NDEBUG = -frounding-math -DNDEBUG include $(GENERAL_RULES)/CGAL FFLAGS = -DCGAL_FILES='"${CGAL_PATH}/CGAL/files"' @@ -15,4 +15,5 @@ EXE_INC = \ EXE_LIBS = \ -lmeshTools \ -ltriSurface \ - -ldynamicMesh + -ldynamicMesh \ + -lboost_thread-gcc43-mt-1_37