Commit Graph

61 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 8dec5ba702 Update example of linear subdivision 2025-03-17 17:11:33 +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
Andreas Fabri 19ebe4a922 Fix for mesh with borser 2023-03-16 15:13:57 +01:00
Andreas Fabri e4ec4a2c1f Subdivision: Add example for Linear_mask_3 2023-03-13 17:08:40 +01:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +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 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
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Laurent Rineau adb826d25b Subdivision: Use named parameters from the BGL package
That will remove the dependency to PMP.
2018-03-22 19:05:51 +01:00
Sébastien Loriot 6342f9a732 fix remaining point reference 2017-12-12 14:41:41 +01:00
Sébastien Loriot 25491714ba using named parameters as documented 2017-12-11 13:21:37 +01:00
Mael Rouxel-Labbé 7982f9ea68 Restructured the subdivision package
-- Integrated the doc in the header files
-- Split and moved files to have a proper internal structure and to distinguish
   between hosts, stencils and methods at the filename level.
-- Removed all instances of Polyhedron to have PolygonMesh instead
-- Cleaned off useless functions (Polyhedron_decorator remnants)
-- Improved general documentation
-- Minor performance improvements
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé c123917e1d Updated the examples
Incidentally, the testsuite will be able to run the examples now
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 518c3838ed Removed unneeded include 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé ba3e6d74db Fix steps in /examples/ using unsigned int instead of int
Important otherwise the unsigned int gets matched as a NamedParameter
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 4ea673bdf9 Additional graph traits includes 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé bdfa4e3bdc Trailing whitespace 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 47dd47acd5 Compilation fixes 2017-05-12 10:34:56 +02:00
Andreas Fabri 7885eda044 WIP Debugging Doo-Saboin for a Surface_mesh with border 2017-05-12 10:34:56 +02:00
Andreas Fabri 3b5c631aa9 polish 2017-05-12 10:34:56 +02:00
Andreas Fabri c02b755e27 Complete the testsuite, and fix errors it revealed 2017-05-12 10:34:56 +02:00
Andreas Fabri 43a59d8fcc Introduce named parameters for CatmullClark 2017-05-12 10:34:56 +02:00
Andreas Fabri 594a5a0a58 There are no such concepts or models with _stencil 2017-05-12 10:34:56 +02:00
Andreas Fabri 9ecbd56009 Upgrade example Customized_subdivision 2017-05-12 10:34:56 +02:00
Andreas Fabri 20caf9a7c3 Add example 2017-05-12 10:34:56 +02:00
Andreas Fabri d91ffb8fa3 Make Sqrt1_subdivision work 2017-05-12 10:34:56 +02:00
Andreas Fabri 299d748adf Loop subdivision now works for Surface_mesh 2017-05-12 10:34:56 +02:00
Andreas Fabri dfc877cd2a CatmullClark now works with borders too 2017-05-12 10:34:56 +02:00
Andreas Fabri 645c56a11a towards FaceGraph 2017-05-12 10:34:56 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Andreas Fabri 48fab14393 int -> size_t 2010-08-05 12:06:33 +00:00
Andreas Fabri 42e69a43a1 Cartesian -> Simple_cartesian 2010-06-22 13:47:04 +00:00
Sylvain Pion bf3c4c99d1 Remove obsolete makefiles, or cmake-generated makefiles that should not be under SVN. 2009-08-20 13:27:34 +00:00
Andreas Fabri af1f701621 float -> double 2008-10-14 07:44:29 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00