Commit Graph

101 Commits

Author SHA1 Message Date
Laurent Rineau a9365554c9 Merge pull request #2550 from sloriot/CGAL-add_SPDX_tags
Add SPDX License Identifier
2017-11-15 16:48:27 +01:00
Laurent Rineau 3ff09bc549 Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-15 16:47:42 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau 62c70d41ca Renew the handle of policies, for CMake-3.10
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.

`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Laurent Rineau 23da9c6a10 Fix warnings about policy CMP0011 2017-10-23 15:29:27 +02:00
Marc Glisse 2868790cf4 Workarounds for expression templates.
Theses are just tests and already look ugly, don't try to be clever here.
2016-10-13 23:58:29 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Philipp Möller 4211a4f01e Globally remove CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
This is a Cmake 2.4.3 variable that isn't even documented anymore.
2016-02-16 17:02:55 +01:00
Jane Tournois feb76b7439 add missing namespaces for msvc2015
avoid ambiguity of calls
2015-08-11 15:48:55 +02:00
Sébastien Loriot 74dce018ac using Exact_rational 2014-06-27 13:51:25 +02:00
Andreas Fabri ac308f1f26 Replace Quotient<MP_float> with Gmpq if GMP is available
Remove #includes which are not needed
Replace Quotient<Precise_integer> with Precise_rational
2013-09-27 16:00:57 +02:00
Sébastien Loriot d6905c61be Merge branch 'Kernel-replace_object-pmoeller-old' into Kernel-replace_object-pmoeller
Conflicts:
	AABB_tree/include/CGAL/AABB_tree.h
	Circular_kernel_2/include/CGAL/Circular_kernel_2/internal_functions_on_line_arc_2.h
	Intersections_3/include/CGAL/Intersections_3/intersection_3_1_impl.h
	Kernel_23/doc/Kernel_23/CGAL/intersections.h
	Kernel_23/doc/Kernel_23/Concepts/FunctionObjectConcepts.h
	STL_Extension/doc/STL_Extension/CGAL/iterator.h
2013-03-14 10:29:31 +01:00
Andreas Fabri 75beac0dca remove unused typedefs 2013-03-05 11:46:25 +01:00
Andreas Fabri 3f7f9c432e remove unused typedefs 2013-03-04 16:11:35 +01:00
Philipp Möller 81b8604c76 Move Circular intersection results from the traits to result_of 2012-12-10 15:56:09 +01:00
Laurent Rineau c2ccc19c55 Remove unused variable (warnings) 2012-01-31 14:36:20 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot ddd9ae7615 put file removed in r65566 that are actually needed 2011-09-29 13:06:59 +00:00
Sébastien Loriot dad46fe794 remove not need CMakeLists.txt's 2011-09-27 08:51:49 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Sébastien Loriot b0072b556f The constructor of Sqrt_extension from 3 parameters does not allow the root to be
0. Update Circular_kernel_3 testsuite to this precondition.

Raffine the fix of r63323 of operator== of Sqrt_extension. The original
behavior is used if ACDE_TAG is Tag_false and the one of r63323 otherwise
(selected at compile time).
2011-05-05 08:17:39 +00:00
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