Commit Graph

16 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 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 a968f82c31 Fix CMake error! 2010-08-10 15:12:49 +00:00
Laurent Rineau 1dfbb1f9a9 Fix the CMakeLists.txt:
- use CORE if available, do not fail otherwise
  - fix an out-of-sources compilation error.
2010-08-06 12:35:32 +00:00
Fernando Cacciola 24f08fc681 Added demos to the demos target 2008-12-18 17:29:36 +00:00
Laurent Rineau c64c0df177 The polygon demo needs Core. 2008-12-05 13:09:44 +00:00
Laurent Rineau 226b66183b Check all CGAL components.
Remove QUIET.
Re-indent.
2008-11-19 13:19:19 +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 70fa9503fd Added CMP0003 policy 2008-11-04 12:30:29 +00:00
Andreas Fabri d2dd28b7fb Forgot to expresss dependency on the moc file 2008-10-07 07:46:36 +00:00
Laurent Rineau 15d289b287 Add CGAL_Core to the polygon demo (because that demo includes Straits
Skeleton, which uses CORE for internals predicates).
2008-10-03 08:36:23 +00:00
Andreas Fabri 53f44636bf Added inner skeleton and I/O 2008-10-01 15:58:17 +00:00
Andreas Fabri a0fbf53105 Conditional compilation 2008-10-01 10:45:10 +00:00
Laurent Rineau f1b56f9a11 Fix some CMakeLists.txt (that use Qt3 or Qt4). 2008-09-22 11:59:21 +00:00
Laurent Rineau 1266312e32 Followup of previous commit ("Add auto-link to libCGALQt4 files.").
Now use auto-link in demos that use CGAL Qt4 support.
2008-09-05 16:04:07 +00:00
Andreas Fabri 6bd3e07953 Add Polygon Demo 2008-07-08 21:48:06 +00:00