Laurent Rineau
4fbf00fb8a
CMake>=3.13: opt for for new policies up to 3.15
2019-06-19 14:34:59 +02:00
Andreas Fabri
677e2d70b5
fix Segmentation OpenMesh example
2019-06-05 09:07:04 +02:00
Andreas Fabri
cb58f1bda8
Use C++11 for loop in examples
2019-06-03 18:07:34 +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
Guillaume Damiand
7f09308d33
Remove all include_directories(BEFORE ../../include) in CMakeLists.txt
2018-10-17 13:07:22 +02:00
Laurent Rineau
86fb40832a
Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
...
Renew the handle of policies, for CMake-3.10
2017-11-13 12:01:39 +01:00
Laurent Rineau
c6068691fa
Merge pull request #2547 from lrineau/CMake-parse_CTest_XML_output-lrineau
...
CGAL testsuite implemented with CTest plus Python (part.1)
2017-11-13 11:13:54 +01:00
Laurent Rineau
62c70d41ca
Renew the handle of policies, for CMake-3.10
...
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.
`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Guillaume Damiand
821a5bad4b
Add missing return
2017-06-28 09:42:48 -04:00
Guillaume Damiand
013f447395
Merge branch 'master' into BGL-LCC-gdamiand
2017-06-22 23:21:39 +02:00
Guillaume Damiand
c8250c4570
Merge branch 'master' into BGL-LCC-gdamiand
2017-06-15 10:03:53 -04:00
Guillaume Damiand
f5a94891bb
Update examples and demo that use BGL for LCC.
2017-06-14 11:42:15 -04:00
Sébastien Loriot
6d2526499e
replace iterators of face patch indices by a range
2017-05-30 15:09:42 +02:00
Sébastien Loriot
b4194e3614
import API and documentation
2017-05-30 15:09:42 +02:00
Maxime Gimeno
3ab2f10997
replace remaining 'componant' by 'patch'
2017-05-30 15:09:42 +02:00
Maxime Gimeno
1f96262d3d
Rename the graph into Face_filtered_graph and add a function to check its validity.
2017-05-30 15:09:42 +02:00
Maxime Gimeno
1caba59404
add a function to change the current connected component ids to the cc_graph and update Segmentation example.
2017-05-30 15:09:42 +02:00
Maxime Gimeno
64eb2d09c6
Change doc for default index maps and add an example to Surface_mesh_segmentation using area() and Connected_components_graphs.
2017-05-30 15:09:41 +02:00
Laurent Rineau
b037471750
Merge pull request #2075 from afabri/CGAL-dont_include_graph_traits_header-GF
...
Do not include graph_traits_{Polyhedron | Surface_mesh}.h
2017-05-19 10:28:38 +02:00
Guillaume Damiand
885ef4775a
Update examples and tests following renaming of BGL LCC helpers.
2017-05-10 16:20:11 -04:00
Andreas Fabri
1dbedb7391
fix choices of std::cerr or std::cout
2017-04-27 09:04:12 +02:00
Andreas Fabri
1433a9f780
write to std::cout and not std:cerr
2017-04-25 14:46:23 +02:00
Andreas Fabri
7c3e5af35a
Add is_triangle_mesh test in Surface_mesh_segmentation package
2017-04-25 11:33:13 +02:00
Andreas Fabri
c81b707bfb
Do not include graph_traits_{Polyhedron | Surface_mesh}.h
2017-04-24 19:17:43 +02:00
Guillaume Damiand
755272148a
Cleanup BGL for LCC; add shortcut for item with id to simplify definition.
2017-03-31 17:11:36 -04:00
Guillaume Damiand
d7e40dc40d
Ok for Surface_mesh_segmentation for BGL LCC.
2017-03-31 09:34:01 -04:00
Guillaume Damiand
7277cdb9c0
Add one more example for BGL for LCC
2017-03-30 13:11:00 -04:00
Laurent Rineau
eb5f52869f
Use the new API of target_link_libraries
...
... otherwise CMake warns about mixing old and new usages of that CMake
command.
2017-03-27 18:04:54 +02:00
Sébastien Loriot
6b338eeb1f
improve the name of projects in cmake scripts of examples
2016-09-08 00:02:55 +02:00
Philipp Möller
4211a4f01e
Globally remove CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
...
This is a Cmake 2.4.3 variable that isn't even documented anymore.
2016-02-16 17:02:55 +01:00
Laurent Rineau
f9917c487e
CMake 2.8.11
2015-07-13 12:36:43 +02:00
Sébastien Loriot
d164633493
remove REQUIRED keyword
2015-07-07 11:23:46 +02:00
Sébastien Loriot
d123ce5a47
Merge branch 'old/gsoc2014-Polyhedron_shortest_path-skiazyk' into gsoc2014-Polyhedron_shortest_path-skiazyk
...
Conflicts:
Documentation/biblio/geom.bib
Documentation/doc/Documentation/Doxyfile.in
Documentation/doc/Documentation/dependencies
Documentation/doc/Documentation/packages.txt
Documentation/scripts/generate_how_to_cite.py
Polyhedron/demo/Polyhedron/CMakeLists.txt
2015-06-01 17:47:31 +02:00
Laurent Rineau
7394f596ae
Fix after renaming of the example
2015-01-12 17:44:55 +01:00
Andreas Fabri
4be90e89dc
shorten name of example to avoid CMake warning in the testsuite
2015-01-10 12:58:32 +01:00
Andreas Fabri
7fdb146a11
use the overloads that call get(vertex_point_t)
2014-12-23 15:06:51 +01:00
Andreas Fabri
49d6495d62
Merge branch 'Surface_mesh-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_mesh-new_package-GF
2014-12-23 15:00:56 +01:00
Sébastien Loriot
21a705cdd9
do not use default template parameters
2014-12-23 14:59:00 +01:00
Andreas Fabri
28dc50fdfc
point property map must be passed as argument
2014-12-23 14:24:51 +01:00
Andreas Fabri
5e9442395f
Add segmentation example for Surface_mesh
2014-12-10 20:06:24 +01:00
Andreas Fabri
9ecdad5a76
Add a segmentation example for the Surface_mesh
2014-11-12 17:58:44 +01:00
Stephen Kiazyk
a6ea82cbf7
Add an example using OpenMesh
...
Involves several changes to the Polyhedron_shortest_path class which were
not conformant to the Face Graph concept.
2014-08-04 22:59:51 -04:00
Sébastien Loriot
39c073948e
when using HalfedgeGraph or FaceGraph API, graph_traits must be included
2014-07-04 17:24:07 +02:00
Sébastien Loriot
cd88dc010b
remove extra include directives
2014-07-04 17:24:06 +02:00
Sébastien Loriot
fd91616f51
The default constructed vertex point property map for OpenMesh is invalid
2014-07-02 10:57:43 +02:00
Sébastien Loriot
83b16b3351
remove warning and clean up
2014-07-01 16:43:26 +02:00
Andreas Fabri
4c8f452a78
Add {Find/Use}Openmesh.cmake and fix the CMakeLists.txt
2014-06-11 12:13:50 +02:00
Andreas Fabri
d92d0cef84
Use CGAL points even for OpenMesh
2014-06-10 15:26:06 +02:00