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
Sébastien Loriot
fb6f703b55
IO namespace for files in IO directories
2021-05-04 14:36:06 +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
3b70343590
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-11-16 16:19:43 +01:00
Maxime Gimeno
bebd60c12b
Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno
2020-10-20 09:53:54 +02:00
Mael Rouxel-Labbé
f55ef7dd50
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-10-09 18:36:17 +02:00
Sébastien Loriot
a1abdf372a
add a constuctor with an empty selection
2020-08-12 15:32:58 +02:00
Maxime Gimeno
9c15f2c9dc
Use FeatureSummary in the demo, and remove CGAL_FOUND
2020-08-04 12:46:17 +02:00
Mael Rouxel-Labbé
9cca59ba36
Actually use the new IO functions + some example improvements
2020-06-23 18:24:39 +02:00
Maxime Gimeno
b084e9059d
WIP
2020-06-16 11:13:36 +02:00
Maxime Gimeno
4e6fb685c6
Merge remote-tracking branch 'mine/CGAL_IO-maxGimeno' into HEAD
2020-03-27 11:11:10 +01: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
Mael Rouxel-Labbé
41271b67f6
Improvements to CGAL i/o across the board
2020-01-29 10:00:07 +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
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