Commit Graph

511 Commits

Author SHA1 Message Date
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 4b795c56f4 Global handling of CMake policies
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.
2011-04-28 10:33:17 +00:00
Laurent Rineau 6f05e72cef 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 18:06:32 +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
Eric Berberich eb7a5ed11e branch-build is now HOT on next ;-) 2011-04-15 09:12:06 +00:00
Laurent Rineau 5a115a6792 Remove erroneous executable permission 2011-03-15 10:23:40 +00:00
Laurent Rineau 6036b7ca4b Typo: a resource was not found because its path was wrong. 2011-03-14 12:51:17 +00:00
Laurent Rineau 59356984de In the popup "About CGAL...", do not display the SVN revision number if the
release is a public release.

If the CGAL_Qt4 library is configured while there is an environment
variable CGAL_FAKE_PUBLIC_RELEASE, then the release version string is
stripped from its -I-.* part, so that is it equivalent to the version
string of the public release.
2011-03-09 12:49:30 +00:00
Sébastien Loriot 3698d4528c use CGAL namespace 2011-02-28 07:40:38 +00:00
Sébastien Loriot ae62b2ae4d remove warnings 2011-02-24 16:36:04 +00:00
Laurent Rineau da95064578 Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011). 2011-02-24 15:21:10 +00:00
Ophir Setter 2f91e1af2e Changing name to L1_Voronoi_diagram_2 and removing .scm-urls files 2011-02-04 06:12:32 +00:00
Ophir Setter a5d3cbc877 Adding L1_voronoi_diagram_2 example for the Envelope_3 package 2011-02-03 05:31:34 +00:00
Eric Berberich 987c9bbcd5 added Minkowski sum with itself (AF has accepted this extension) 2010-12-20 14:15:46 +00:00
Andreas Fabri 7520c27371 ItemUsesExtendedStyleOption is available only starting from Qt 4.6 2010-12-13 19:28:34 +00:00
Andreas Fabri de2413466a Reorder initialization 2010-12-12 20:34:18 +00:00
Andreas Fabri 716d469af5 cleanup 2010-11-12 09:03:43 +00:00
Laurent Rineau 3af1511a79 A polygon with two vertices... well, that is not a polygon! Then do not
insert its single edge twice!
2010-11-10 18:50:19 +00:00
Laurent Rineau f1549b69ba PainterOstream can now paint bboxes 2010-11-09 09:12:58 +00:00
Laurent Rineau 11b8bf1ce9 Open files whose names/paths are given on the command line.
(Maybe that should go to CGAL::Qt::DemosMainWindow.)
2010-11-09 08:46:31 +00:00
Marc Glisse 4177858be9 Use types consistently to avoid warning. 2010-10-29 13:12:27 +00:00
Andreas Fabri caf090bfff Conditional use of more recent Qt feature 2010-09-27 11:45:15 +00:00
Andreas Fabri 181646f64b Add some QT_USE_.. as this is the only difference I see to the Alpha shapes demo which finds Qt4 in the 3.8-I-39 testsuite 2010-09-27 11:28:10 +00:00
Andreas Fabri 818e9909f6 Add max area k-gon 2010-09-23 15:58:54 +00:00
Andreas Fabri 93712c46cd Add recenter and improve help 2010-09-23 14:42:13 +00:00
Andreas Fabri 20e83656cf cleanup and use of CrossCursor only in the GraphicsView 2010-09-23 12:22:24 +00:00
Andreas Fabri 8ecb2bd1f2 Draw points on the fly in an output iterator without first collecting them into a container 2010-09-23 11:35:09 +00:00
Andreas Fabri b8db07094a Draw points with line width 0, otherwise it is too slow when we have 1mio points 2010-09-23 09:25:29 +00:00
Andreas Fabri 2b8df41cdb cleanup 2010-09-23 07:52:35 +00:00
Andreas Fabri ef0c072342 Switch to PointsGraphicsItem that uses a kd-tree to quickly determine what points to redraw 2010-09-23 07:52:12 +00:00
Andreas Fabri 4306b967ee cleanup 2010-09-23 07:32:53 +00:00
Andreas Fabri 044dab1d6d Add typename 2010-09-23 07:30:03 +00:00
Andreas Fabri 476713ca97 Add a graphics item for a point set in a kd-tree 2010-09-22 20:22:58 +00:00
Andreas Fabri e42710f1d2 cleanup 2010-09-22 20:22:00 +00:00
Andreas Fabri 569850f2f3 Access value type of iterator of container instead of value type of container 2010-09-22 14:34:35 +00:00
Andreas Fabri 086ce1423f First version of a Qt4 based 2D spatial searching demo 2010-09-22 14:31:13 +00:00
Andreas Fabri 17fca99269 Set a pen 2010-09-22 06:16:09 +00:00
Andreas Fabri b7f4ea49b6 Add typename 2010-09-22 06:15:46 +00:00
Andreas Fabri 5a4f57be05 Add #include file 2010-09-22 06:15:29 +00:00
Andreas Fabri 2d9beb8ef3 Add function to resive the grid 2010-09-21 13:26:25 +00:00
Andreas Fabri b8e5221f14 Add icons for snap rounding demo 2010-09-21 13:25:46 +00:00
Andreas Fabri 0239147049 Add icons for snap rounding demo 2010-09-21 13:25:29 +00:00
Andreas Fabri 78f805a6e2 Add IO and minor polish 2010-09-21 12:15:08 +00:00
Andreas Fabri 106fe433e0 the item must not itself decide to hide or show 2010-09-21 10:43:22 +00:00
Andreas Fabri 0ba646cb24 Add on/off for grid,input,output and allow to change delta 2010-09-21 10:42:11 +00:00
Andreas Fabri e7003b45ca intial version of Qt4 based Snaprounding demo 2010-09-20 20:24:27 +00:00
Andreas Fabri 7e26a61cf4 intial version of Qt4 based Snaprounding demo 2010-09-20 20:23:15 +00:00
Andreas Fabri d1ea6a8cb7 Rename vector field graphics item 2010-09-20 12:19:14 +00:00
Andreas Fabri 283ceae0b8 Rename vector field graphics item 2010-09-20 12:18:41 +00:00
Andreas Fabri 270081a303 cleanup 2010-09-20 09:44:32 +00:00