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.

This commit is contained in:
graham
2009-02-09 18:07:53 +00:00
parent 87f0693973
commit bb278906be

View File

@ -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