Commit Graph

16 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
Andreas Fabri 716d469af5 cleanup 2010-11-12 09:03:43 +00:00
Laurent Rineau 7606b93406 Merge last unmerged revision from the branch CGAL-3.7-branch:
| ------------------------------------------------------------------------
  | r57979 | lrineau | 2010-08-11 15:24:20 +0200 (Wed, 11 Aug 2010) | 1 line
  | 
  | Global fix of all uses of qt4_generate_moc: the destination file path must be absolute.
  | ------------------------------------------------------------------------
  | r58026 | stayeb | 2010-08-12 17:40:41 +0200 (Thu, 12 Aug 2010) | 2 lines
  | 
  | Bug fix: ensure that c3t3 contains no in complex cell when starting a new refinement process. We need this because the first refinement of the surface does not update the volume, so c3t3 can't know that in complex cells have been deleted.
  | 
  | ------------------------------------------------------------------------

(That shows it is difficult to avoid to merge the release branch in the
trunk from time to time.)
2010-08-20 13:09:22 +00:00
Andreas Fabri 117e2a3355 drag and drop now come from the demo base class 2010-08-14 14:26:05 +00:00
Andreas Fabri 32c2d35f99 Add drag and drop 2010-08-13 15:04:14 +00:00
Andreas Fabri 8ec4806dcc Remove event dropping as it is now provided by DemosMainWindow 2010-08-13 14:42:09 +00:00
Laurent Rineau 225672765a Backport from trunk:
| ------------------------------------------------------------------------
  | r57993 | lrineau | 2010-08-11 18:02:00 +0200 (Wed, 11 Aug 2010) | 5 lines
  | 
  | Massive change in all .qrc files: the attribute lang= must not be used. It
  | must be only used to create an alternative for another lang. If a resource
  | exists only with lang=, then that resource will not be found if the locale
  | had not that language.
  | 
  | ------------------------------------------------------------------------
2010-08-11 16:03:25 +00:00
Laurent Rineau 9204de7204 Massive change in all .qrc files: the attribute lang= must not be used. It
must be only used to create an alternative for another lang. If a resource
exists only with lang=, then that resource will not be found if the locale
had not that language.
2010-08-11 16:02:00 +00:00
Laurent Rineau af3ad196a0 Global fix of all uses of qt4_generate_moc: the destination file path must be absolute. 2010-08-11 13:24:20 +00:00
Laurent Rineau edeb82169c Remove the svn:executable property for C++ files. 2010-07-01 16:06:05 +00:00
Laurent Rineau 5e42fc9b07 Fix a uic warning. 2009-11-20 10:00:08 +00:00
Laurent Rineau 1df2c5e127 Fix linking on non-Windows platforms: CGAL_Core is needed. 2009-11-17 10:24:37 +00:00
Andreas Fabri c9aeb32188 Initial version of a Qt4 based demo 2009-11-10 14:23:51 +00:00
Andreas Fabri 570ecfc719 Initial version of a Qt4 based demo 2009-11-10 13:44:35 +00:00