Commit Graph

78 Commits

Author SHA1 Message Date
Sébastien Loriot 0892b09798 add enable c++11 if IPE is 7.2.1 or greater 2016-02-03 14:27:47 +01:00
Laurent Rineau 32a3f4b60b The `make clean` can fail when there is no target at all 2015-07-15 16:36:19 +02:00
Laurent Rineau fa13f4ed0c Merge remote-tracking branch 'philaris/sdglinf-philaris' into CGAL-Qt5_support-GF 2015-07-10 17:28:07 +02:00
Laurent Rineau 15c1469a54 CGAL requires CMake>=2.8.11. 2015-07-10 17:01:42 +02:00
Laurent Rineau 3ec0c69f8f We want 2.8.10 for all demos
Previous versions are not tested by the CGAL daily test suite.
2015-07-09 17:50:22 +02:00
Laurent Rineau e5bcdc5f3e Update all CMakeLists.txt
- CMake 2.8.11 or later is now required
- GLEW is no longer used by demo/Polyhedron/
2015-07-06 18:14:34 +02:00
Panagiotis Cheilaris 51499f78c5 remove sdglinf hv from ipelet
Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
2015-06-30 10:32:07 +02:00
Panagiotis Cheilaris f8a645e93b Segment Voronoi diagram Linf ipelet in cmake list 2015-06-30 10:31:58 +02:00
Panagiotis Cheilaris f6fd3128fb control CGAL_SDG_DEBUG with cmake, show segments
Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
2015-06-30 10:31:17 +02:00
Panagiotis Cheilaris b4236a0f1f renames to be like formal CGAL repository
I have only kept in an include directory at the root
the change in arrangement point location.

This change also requires to use some special local
includes in CMakeLists.txt files. I will do it in a
subsequent commit.
2015-06-30 10:31:01 +02:00
Sébastien Loriot 9e68f232ac using the free function to_double instead of the member function
the member function is specific to a few number types
2015-04-13 14:25:57 +02:00
Olivier Devillers d947a0b076 f vs lf 2014-08-05 17:19:49 +02:00
Olivier Devillers 23c435f18c forgot lua file 2014-08-04 16:10:53 +02:00
Olivier Devillers 1d7f69dfb7 forgot lua file 2014-08-04 16:09:30 +02:00
Olivier Devillers c702ff0705 forgot to write the unit 2014-08-04 16:00:43 +02:00
Olivier Devillers d39be1922e typo 2014-08-04 13:22:25 +02:00
Olivier Devillers d6c93ed3a8 this file has to be modified to get test-suite running! 2014-08-04 11:47:43 +02:00
Olivier Devillers d9cdb1f580 There was a bug in the computation of pencil of circles:
degenerate case when circle degenerate in the radical axis
were not taken in account.

This has an implact on the ipelets "pencil of circels"and "hyperbolic".

A very small ipelet computing the distance between two points is also added.
2014-08-01 15:20:23 +02:00
Laurent Rineau ac9ea3ee05 compilation error, use CGAL::to_double 2014-06-26 19:12:57 +02:00
Sébastien Loriot 244e0fe1cf add missing targets to the testsuite 2014-01-13 17:42:10 +01:00
Olivier Devillers 38c28d3692 error messages and default box 2013-12-17 11:54:59 +01:00
Sébastien Loriot d45f445a59 handle intersecting polygons 2013-12-16 22:48:16 +01:00
Sébastien Loriot 29ad4556e7 make the name of subfunctions matching with the doc and the help menu 2013-12-16 17:40:27 +01:00
Olivier Devillers fee948e406 misc (following Sebastien remarks) 2013-12-16 16:19:29 +01:00
Olivier Devillers 9c4785f884 additional features in hyperbolic ipelet 2013-12-10 11:33:28 +01:00
Olivier Devillers 3c5906c5e5 correct year 2013-11-28 11:11:52 +01:00
Olivier Devillers 0a58678648 bug in clipping 2013-11-27 18:29:49 +01:00
Olivier Devillers 1752d3605c adding policies in Hilbert sort
adding doc of the CGAL_ipelet demo
2013-11-27 17:28:14 +01:00
Olivier Devillers 27b3acf5d1 New Ipelets : pencils of circles
hyperbolic geometry

Modified Ipelet : generator (place of created points from selection instead of
                             midle of the page).
2013-11-26 09:42:55 +01:00
Sébastien Loriot c48c9e21bd make each ipelet linking to ipe library 2013-07-02 14:24:14 +02:00
Sébastien Loriot ccebcfd954 use the classical cmake way to find third party library 2013-03-25 09:32:32 +01:00
Sébastien Loriot 3696c36367 vc++ does not like "and", replace it with && 2013-03-05 14:12:58 +01:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +01:00
Laurent Rineau 2db4effa7e CMake: Fix the handling of cmake_policy
That is a followup-to my commit last year:
  | ------------------------------------------------------------------------
  | r63198 | lrineau | 2011-04-28 19:45:22 +0200 (Thu, 28 Apr 2011) | 5 lines
  | 
  | 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.
  | 
  | ------------------------------------------------------------------------

The following check:
  if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
is useless just after a call to:
 cmake_minimum_required(VERSION 2.6.2)



The script used to fix that was:


#!/usr/bin/env perl

$replacement=<<'END';
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3)
  cmake_policy(VERSION 2.8.4)
else()
  cmake_policy(VERSION 2.6)
endif()
END

while(<>) {
    if(/if\("\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6\)/) {
        while(<>) {
            if(/^endif\(\)/) {
                print "$replacement";
                while(<>) {
                    print;
                }
                exit 0
            }
        }
    }
    print;
}
2012-08-22 12:35:03 +00:00
Sébastien Loriot c61dccb5a5 find_path do nothing if the variable is already in the cache 2012-08-14 15:01:10 +00:00
Sébastien Loriot cd58d025f7 remove unused var warnings 2012-07-27 10:29:10 +00:00
Sébastien Loriot 5dd3045330 move installation dir setup in demo script 2012-06-21 09:51:55 +00:00
Sébastien Loriot e7e15113ef modification for IPE
->move the version check and the installation directory detection into the 
  demo CMakeLists.txt
2012-06-20 15:12:28 +00:00
Laurent Rineau b385c8227b Workaround the check of NDEBUG in the testsuite. 2012-01-26 11:21:43 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Philipp Möller f9b288db90 Merged branch ^/branches/features/gsoc2011-copy_n-pmoeller.
Small feature page: https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Replace_copy_n
2011-08-26 14:34:10 +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 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
Laurent Rineau 77a2bead80 Add missing svn properties (keywords and eol-style). 2010-09-20 12:12:46 +00:00
Fernando Cacciola 738080d74e Reverted to release 3.6 2010-08-19 23:11:29 +00:00
Sébastien Loriot 5471e90cd1 s/succesful/successful 2010-08-12 08:30:26 +00:00
Sébastien Loriot 15b9c6e87b typo 2010-08-12 07:10:41 +00:00
Fernando Cacciola 412b3fb135 Fixed location of helper function to draw unbounded bisectors 2010-08-05 21:53:30 +00:00