Commit Graph

42 Commits

Author SHA1 Message Date
Laurent Rineau 5cb75b0aa5 fix a CMake warning 2025-09-08 19:21:04 +02:00
Sébastien Loriot edd46b9e29 fix build of tests/examples/demos for a release
it will not work in branch build mode but I'm not sure
this is something we want to support.
2025-07-21 12:16:48 +02:00
Laurent Rineau 8eefb7f173 Merge branch 'master' into pr/lrineau/8273 2025-02-07 16:10:52 +01:00
Laurent Rineau 050677f002 add CMake option CGAL_with_benchmarks 2025-02-06 01:21:42 +01:00
Laurent Rineau e5001d1a50 update our CMake version 3.18...3.31
That will suppress the warnings about `CMP0167` (from CMake 3.30):

```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Maxime Gimeno 2255f8e8ea Merge remote-tracking branch 'cgal/master' into CMake-modernization-maxGimeno 2021-01-13 14:34:09 +01:00
Maxime Gimeno 7bdc5d11a9 Post-review 2020-10-15 15:03:20 +02:00
Maxime Gimeno fcb6419106 WIP CGAL_qt5 2020-10-13 15:36:44 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Laurent Rineau 87a2248ab6 Do no test demos
New directory property named `CGAL_NO_TESTING`. If set to `TRUE`, then
the automatic generating of CTest test will be disabled.

(cherry picked from commit 5d540fc1989c86438090b0212883b15cd121cf92)
2016-09-30 19:58:56 +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
Eric Berberich 3599206bf2 improved verbosity 2012-06-11 21:44:17 +00:00
Eric Berberich 60efbec2d3 merge from next 2012-05-20 11:50:30 +00:00
Laurent Rineau 37af1861b3 Full-support of WITH_examples and WITH_demo in a branch-build
- Factorize the logic of Installation/examples/CMakeLists.txt and
  Installation/demo/CMakeLists.txt in to a function defined in
  Installation/CMakeLists.txt

- Call cgal_create_cmake_script, potentially out-of-build, when the
  CMakeLists.txt does not exist.
2012-01-18 18:18:06 +00:00
Sébastien Loriot 54dcce30eb remove unwanted return-to-line 2011-07-12 12:43:01 +00:00
Eric Berberich 8c8da470e4 fixed problem for installed CGAL 2011-07-12 12:30:09 +00:00
Eric Berberich 6eb04b1056 fix to deal with branch- and release-build 2011-07-11 18:53:48 +00:00
Eric Berberich d8631b0086 grab DEMO_DIR even in in-source 2011-07-11 12:25:10 +00:00
Eric Berberich f700c00a22 removed wrong "." to match regex 2011-07-11 12:20:13 +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 e569b702f1 Handle dont_submit
Handle dont_submit to avoid the inclusion of examples/<something> or
demo/<something> if it is in dont_submit.
2011-04-27 17:48:08 +00:00
Eric Berberich 4d457ba1ad fix to build demos and example properly, and even out-of-source now 2011-04-21 08:47:46 +00:00
Eric Berberich eb7a5ed11e branch-build is now HOT on next ;-) 2011-04-15 09:12:06 +00:00
Laurent Rineau cdf0322256 Let's remove all makefiles, now. 2010-08-23 11:03:02 +00:00
Andreas Fabri b2e4b297ab Add cmake_minimum_required to demo and examples CMakeLists.txt 2008-12-15 14:48:27 +00:00
Fernando Cacciola 7df9287297 Sort support tests and examples/demos alphabetically 2008-09-04 14:28:53 +00:00
Fernando Cacciola 7fe5413fe3 Removed pending 'Skipping' messages 2008-09-04 13:26:39 +00:00
Fernando Cacciola 79e225dc9a Moved CMakeLists.txt for demos and examples into the right Installation subfolder 2008-07-23 21:35:54 +00:00
Fernando Cacciola 6e36eda87b CMake stuff moved into the appropriate packages 2008-07-16 20:56:17 +00:00
Joachim Reichel a01563b6aa small bugfix for demo/makefile and examples/makefile 2006-05-27 15:24:06 +00:00
Joachim Reichel d98f998b9d Makefiles in demo and examples renamed from GNUmakefile to makefile 2006-05-18 10:56:14 +00:00
Joachim Reichel b5f3e01944 Rewrite makefiles to be portable 2006-05-18 10:53:51 +00:00
Joachim Reichel 1ccd5e0cea Removed trailing empty lines 2006-05-17 12:19:06 +00:00
Joachim Reichel c96233f3e4 Added examples/GNUmakefile and demo/GNUmakefile 2006-05-17 12:17:33 +00:00