Commit Graph

128 Commits

Author SHA1 Message Date
Laurent Rineau 3c02e07b23 Try to fix my last revision about cmake_policy, with CMake-2.6.x
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
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).
2011-04-28 10:55:56 +00:00
Laurent Rineau 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
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)
2011-04-27 17:58:27 +00:00
Sébastien Loriot e5a96255ba *remove warnings.
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings. 
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +00:00
Sébastien Loriot dfcbdcf07d missing FT : double was cast into int. 2010-05-06 12:41:32 +00:00
Sébastien Loriot c26071c2ed remove debug function 2010-04-28 05:11:48 +00:00
Pedro Machado Manhaes de Castro 0ade428bab CGAL_USE_CORE 2010-03-30 13:53:54 +00:00
Pedro Machado Manhaes de Castro b696180188 decreasing the size of the test-suite 2009-07-28 13:34:50 +00:00
Sébastien Loriot 46980a3635 remove default argument of a function and put it inside files where called 2009-07-06 14:13:00 +00:00
Andreas Fabri 1b51eb0384 M_PI -> CGAL_PI 2009-07-01 16:48:43 +00:00
Sébastien Loriot a88a12778f unused makefiles 2009-06-24 16:59:09 +00:00
Sébastien Loriot 48080deda7 move modifs from exp package to trunk 2009-06-24 16:58:20 +00:00
Pedro Machado Manhaes de Castro 8ff91a9601 cleanup tests + fix 2009-05-07 14:14:24 +00:00
Pedro Machado Manhaes de Castro 8d950c04b5 Spherical kernel with CORE::BigRat 2009-03-31 17:42:55 +00:00
Pedro Machado Manhaes de Castro f942ae0620 fixing minor bug in the test 2008-12-10 15:50:34 +00:00
Pedro Machado Manhaes de Castro 35479fe3c2 Improving the testsuite for the has_on functionality for circular_arcs 2008-12-09 15:23:39 +00:00
Pedro Machado Manhaes de Castro 5708d6de15 removing unnecessary includes 2008-12-03 14:24:11 +00:00
Laurent Rineau fa912f218c Add NOTICE: where needed, so that the test results scripts can generate a "r". 2008-11-10 11:09:21 +00:00
Fernando Cacciola 547bffecd9 Put CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in the right place for cmake 2.4 2008-11-06 13:03:41 +00:00
Fernando Cacciola 994028ec51 Prefixed CreateSingleSourceCGALProgram.cmake with CGAL_ 2008-11-04 13:09:48 +00:00
Fernando Cacciola 70fa9503fd Added CMP0003 policy 2008-11-04 12:30:29 +00:00
Pedro Machado Manhaes de Castro 76d77f77f2 testing calls 2008-10-31 17:54:35 +00:00
Pedro Machado Manhaes de Castro aaca423068 using assert 2008-10-24 23:27:37 +00:00
Pedro Machado Manhaes de Castro 9c066fef08 fixing Circle_3 advanced bbox test 2008-10-24 11:20:17 +00:00
Pedro Machado Manhaes de Castro 36b4d94397 Cmake ok name for project 2008-10-22 23:45:26 +00:00
Pedro Machado Manhaes de Castro a62def4458 Test with SK with Exact_predicates_exact_constructions_kernel as template parameter (note, we will get the same warnings as in Kernel_23 2008-10-22 15:35:51 +00:00
Pedro Machado Manhaes de Castro 0ed8916324 test LK with CK_3 (restricted to 3D objects) 2008-10-22 15:28:24 +00:00
Andreas Fabri 65ea679e22 Help poor VC8 by qualifying do_intersect with CGAL:: 2008-10-21 14:00:01 +00:00
Pedro Machado Manhaes de Castro f1b434e7c7 tunning the test for global functions 2008-10-03 13:16:11 +00:00
Pedro Machado Manhaes de Castro 110f5b71f9 unecessary typename 2008-10-03 12:16:14 +00:00
Pedro Machado Manhaes de Castro 9cb53f21e8 strengthen the testsuite for compare 2008-10-03 12:12:29 +00:00
Pedro Machado Manhaes de Castro e257c6cef2 global functions compare_{x,y,z,xy,xyz} for CK3 2008-10-03 11:56:42 +00:00
Pedro Machado Manhaes de Castro 24de52a1cf <, >, <=, >= operations for Circular_arc_point_3 2008-10-02 15:39:30 +00:00
Pedro Machado Manhaes de Castro add980ff77 global_functions: {x,y,z}_extremal_points and removing some Circle_3 stuffs 2008-10-02 11:41:47 +00:00
Pedro Machado Manhaes de Castro 4f9d341731 removing unnecessary constructors on Line_arc_3 and add the Line_arc_3(Point_3, Point_3) constructor 2008-10-01 13:19:35 +00:00
Pedro Machado Manhaes de Castro 7489f73f53 Do_intersection + global_functions + making the example easier for the user 2008-07-25 18:20:49 +00:00
Pedro Machado Manhaes de Castro e3a9115e66 License CK3 2008-07-24 09:26:28 +00:00
Pedro Machado Manhaes de Castro 086359615a Changing asserts involving precision to warning. 2008-07-18 10:48:05 +00:00
Pedro Machado Manhaes de Castro 66b2705068 Changing Licenses from QPL to LGPL 2008-07-17 12:02:29 +00:00
Pedro Machado Manhaes de Castro b8f13ef60a Removing ugly warnings 2008-06-26 14:31:15 +00:00
Pedro Machado Manhaes de Castro fabc785391 Cleaning 2008-06-03 13:41:19 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Andreas Meyer 20315de571 * replaced CGAL_test_assert with ::assert, instead of CGAL_assertion
* removed include/Testsuite/assert.h
2008-03-19 13:45:36 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Andreas Meyer 6623d525eb * replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Sébastien Loriot bf20d6bfc4 running with epec 2007-10-08 13:58:34 +00:00
Monique Teillaud 5a8cac34f5 most comments in Efi's review answered
(expect missing pages that are still to be added)
2007-08-22 16:33:44 +00:00
Monique Teillaud 44d29ea2db removed 2007-08-22 11:30:35 +00:00
Sylvain Pion 4da7713aa8 Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Andreas Fabri 74a3286329 .C -> .cpp 2007-02-28 11:37:19 +00:00
Marc Glisse a77e900e07 The math functions can't be called directly on integers. 2007-01-09 15:00:34 +00:00
Pedro Machado Manhaes de Castro de5dcf043f Exact_circular_kernel_3 -> Exact_spherical_kernel_3 2006-08-28 11:30:52 +00:00
Pedro Machado Manhaes de Castro 7cba17f11d Exact_circular_kernel_3 -> Exact_spherical_kernel_3 2006-08-28 11:30:01 +00:00
Pedro Machado Manhaes de Castro 6105b22d50 The test for the Exact_circular_kernel_3 2006-08-28 10:44:07 +00:00
Pedro Machado Manhaes de Castro 7fbb1cdb8c Just to have it 2006-08-23 13:39:15 +00:00
Pedro Machado Manhaes de Castro 2d55852402 Header 2006-08-23 13:23:47 +00:00
Pedro Machado Manhaes de Castro 8927fa4d79 Header 2006-08-23 13:23:31 +00:00
Pedro Machado Manhaes de Castro b21567e197 Header 2006-08-23 13:23:12 +00:00
Pedro Machado Manhaes de Castro aff5a24e1b Header 2006-08-23 13:22:53 +00:00
Pedro Machado Manhaes de Castro ac453600d6 If it doesn't work (to delete it) because of the dependency with the Algebraic_kernel_for_spheres I return it again. 2006-08-23 13:09:58 +00:00
Pedro Machado Manhaes de Castro c095a58825 makefile 2006-08-22 15:25:52 +00:00
Pedro Machado Manhaes de Castro e68d4cb9ba makefile 2006-08-22 15:20:45 +00:00
Pedro Machado Manhaes de Castro 4a523969f5 Bounded_side_3
Has_on_bounded_side_3
Has_on_unbounded_side_3
functors
2006-08-22 14:54:09 +00:00
Pedro Machado Manhaes de Castro ed74a009ce Bounded_side_3
Has_on_bounded_side_3
Has_on_unbounded_side_3
functors
2006-08-22 14:54:02 +00:00
Pedro Machado Manhaes de Castro e5d83fb1e0 Radical Plane + (some pre-conditions) 2006-08-22 13:29:16 +00:00
Pedro Machado Manhaes de Castro 9ba016c183 Adding:
- Compute_area_divided_by_pi
- Compute_squared_length_divided_by_pi_square
- Compute_approximate_area
- Compute_approximate_squared_length
- Compute_approximate_angle
2006-08-21 13:15:20 +00:00
Pedro Machado Manhaes de Castro d64ec0de9f Adding:
- Compute_area_divided_by_pi
- Compute_squared_length_divided_by_pi_square
- Compute_approximate_area
- Compute_approximate_squared_length
- Compute_approximate_angle
2006-08-21 13:15:08 +00:00
Pedro Machado Manhaes de Castro 60d4075372 Intersections with a Circular_arc_3 2006-08-13 17:28:24 +00:00
Pedro Machado Manhaes de Castro b981638e68 Split_3 + do_overlap 2006-08-12 16:27:26 +00:00
Pedro Machado Manhaes de Castro 29afe02917 Split_3 + do_overlap 2006-08-12 16:27:19 +00:00
Pedro Machado Manhaes de Castro 288dc86b11 Orientation issues + Has_on_3(Circular_arc_3, {Point_3, Curcular_arc_point_3}) 2006-08-11 15:50:41 +00:00
Pedro Machado Manhaes de Castro f7c9d94fd4 Circular_arc_3 (beginning of it) + Fixing Warning 2006-08-10 14:58:34 +00:00
Pedro Machado Manhaes de Castro d44480dd0d Circular_arc_3 (beginning of it) + Fixing Warning 2006-08-10 14:58:27 +00:00
Pedro Machado Manhaes de Castro 1fb9c68da2 Circular_kernel_3 = Curved_kernel_3, but with the correct name 2006-08-09 14:48:00 +00:00