CGAL_DISABLE_RECENTLY_ADDED_STATIC_FILTERS was misleading because
of... "recently"! What would mean that macro in several months?
I have changed it to CGAL_DISABLE_STATIC_FILTERS_ADDED_2011. As a matter of
fact, only GeometryFactory has added static filters to the CGAL kernel
during year 2011, and it was only the filters added November/December:
Is_degenerate_3 -- only for Ray_3 and Segment_3
Do_intersect_3 -- only for BBox_3-Ray_3 and BBox_3-Segment_3
Angle_3 -- only the operator()(Point_3, Point_3, Point_3)
| ------------------------------------------------------------------------
| r66638 | afabri | 2011-12-02 23:00:04 +0100 (Fri, 02 Dec 2011) | 1 line
|
| Remove unnecessary abs()
| ------------------------------------------------------------------------
It must be applied to a new branch of next.
Do_intersect_3 has a template member function. If one use
CGAL_PRETTY_FUNCTION as function name, then the compiler gives the full
name of the function, with its parameters.
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
vectors of points in CGAL::Object when intersecting with Lazy_kernel
was missing the case when the construction failed with approximate
kernel. Add into make_lazy overload of object code to handle it.
Update the testsuite to test this (crash if not here).
The warning on x64_Cygwin-Vista_MSVS2010-64bits was:
include\CGAL/Filtered_kernel/Cartesian_coordinate_iterator_3.h(68) :
warning C4800: 'const CGAL::Vector_3<R_> *const *' : forcing value to bool
'true' or 'false' (performance warning)
We declare
cmake_minimum_required(VERSION 2.6.2)
but we also use
cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.
That way, we no longer need any declaration of specific policies.
Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
- change cmake_minimum_required to VERSION 2.6.2
- no longer any need for the policy CMP0003 (was for 2.4.x)
- no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)