Commit Graph

11 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 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
Laurent Rineau 5a115a6792 Remove erroneous executable permission 2011-03-15 10:23:40 +00:00
Andreas Fabri de2413466a Reorder initialization 2010-12-12 20:34:18 +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 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 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 044dab1d6d Add typename 2010-09-23 07:30:03 +00:00
Andreas Fabri 086ce1423f First version of a Qt4 based 2D spatial searching demo 2010-09-22 14:31:13 +00:00