That file creates a global (static const) object that:
- at its creation (start of the program), it stores the FPU rounding mode,
- at its destruction (end of the program), it emits a CGAL_warning is the
current rounding mode is different from the stored one.
That will permit to track if all CGAL kernel code restore the FPU rounding
mode correctly (needed for some CGAL user and GeometryFactory customers).
- Make get_dependency_version found the print_${LIB}_version.cpp, even
if the lib is compiled separately.
- Rename FindQt3.cmake to FindQt3-patched.cmake and Qt3Macros to
Qt3Macros-patched.
- Make CGAL-Qt3 compilable separately.
- Fix all commited CMakeLists.txt:
- use Qt3-patched and Qt3Macros-patched, and s/QT_/QT3_/
- add a comment about FindQt3-patched,
- wrap target creation with if(CGAL_FOUND AND QT3_FOUND)/else/endif
- Modified cgal_create_cmake_script
- fix flags for Core and CGALQt shared libraries
- add $(CUSTOM_LDFLAGS) to $(CGAL_SHARED_LIB_LDFLAGS)
- move a few flags from $(CGAL_CGAL_LDFLAGS) to $(CGAL_LDFLAGS), so that
$(CGAL_CGAL_LDFLAGS) only contains -lCGAL (or the equivalent for other
compilers).
- new targets for libCGAL.a, libCGAL.so, libCGAL.so.*
- fix rules when SOVERSION is empty (use GNU/make idioms)
- Additional vpath in src/CGALQt/makefile, so that one can build it directly
from a checkout of the trunk.
- fix the build of libCGALBenchmark.
- fix the bison special stuff, so that we no longer rely on the expr and
the $(shell) function of GNU/make.
"Everybody was dreaming of this commit log:
- factorization of makefiles for libCGAL, libCGALimageIO, libCore, and
libBenchmark.
- SONAMEs for everybody."
Add:
- fix platforms without SONAME,
- unify Benchmark/src/Benchmark/makefile with other makefiles.
This required to pass CXXFLAGS on the make command-line, and therefore
I took this opportunity to also pass CGAL_MAKEFILE on the command-line,
which in turn allowed to get rid of the prepare_lib_makefiles function.