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
Andreas Fabri
527569346e
CGAL: Modernize CMakeLists.txt
2024-10-08 17:02:41 +01:00
Laurent Rineau
3a223ebd1e
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-06 20:19:44 +02:00
Mael Rouxel-Labbé
6f187f332c
Misc minor fixes/improvements
2022-09-14 14:08:23 +02:00
Mael Rouxel-Labbé
9b265fddf8
Uniformize REQUIRED / QUIET usage:
...
Following this:
- CGAL: always REQUIRED
- CGAL component: COMPONENT / OPTIONAL_COMPONENT (never QUIET)
- required 3rd party: (not QUIET) + message(NOTICE "") on NOT_FOUND
- optional 3rd party: QUIET + message(STATUS "") except for Polyhedron/demo
- 3rd party components: COMPONENT / OPTIONAL_COMPONENT
(QUIET depending on required or optional 3rd party)
2022-09-06 16:24:27 +02:00
Mael Rouxel-Labbé
4fc486b195
Purge CMakeLists.txts from obsolete code / noise
2022-09-06 16:19:11 +02:00
Mael Rouxel-Labbé
7cb21c24b0
Uniformize message() for missing 3rd party libraries
...
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Mael Rouxel-Labbé
28ba446895
Clean (some) CMakeLists.txt indentation
2022-09-06 15:38:18 +02:00
Laurent Rineau
2288225448
Massive update of CMake policies to version 3.23
2022-05-06 09:34:35 +02:00
Sébastien Loriot
75b03e6c0a
use_default_values() -> default_values()
2022-01-10 18:36:37 +01:00
Sébastien Loriot
7900a96115
start documenting use_default_values()
2022-01-03 16:31:09 +01:00
Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +01:00
Sébastien Loriot
58181afcdb
remove useless include directives
2021-11-09 10:16:12 +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
Laurent Rineau
4c947f0ee0
Merge pull request #5340 from danston/CGAL-clang_warnings_fix-danston
...
Clang warnings fixed
2021-02-05 16:10:37 +01:00
Sébastien Loriot
bc161f2ae9
Merge 'CGAL-Eigen3_support-5.2'
2021-01-15 10:59:20 +01:00
Sébastien Loriot
f4935dc199
Merge branch 'CGAL-Eigen3_support-5.1'
2021-01-15 10:54:02 +01:00
Sébastien Loriot
eecb00534e
fix macro name to be consistent with find_package
2021-01-15 10:43:34 +01:00
Dmitry Anisimov
269a47d773
Merge branch 'master' into CGAL-clang_warnings_fix-danston
2021-01-14 16:51:13 +01:00
Dmitry Anisimov
fbbff6794f
surface mesh approximation range loop analysis copy to ref warning fixed
2021-01-08 10:16:53 +01:00
Maxime Gimeno
3b70343590
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-11-16 16:19:43 +01: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
Simon Giraudot
421096fd7f
Use imported targets everywhere
2020-04-15 14:06:13 +02:00
Simon Giraudot
6c8fd43ebb
Use CGAL_target_use_* mechanism for Eigen, LASLIB, OpenCV, TensorFlow, GLPK, SCIP, Boost IOStreams and Serialization
2020-02-10 11:57:56 +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
124012d9f9
replace cpp11::array by std::array
2019-03-29 13:28:33 +01: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
Lingjie Zhu
b34eadc7fd
fix approximate_sqrt for EPICK
2019-02-28 20:18:30 +08:00
Lingjie Zhu
24e83fc944
std::sqrt -> CGAL::approximate_sqrt
2019-02-26 22:55:52 +08:00
Lingjie Zhu
efc7d7e9aa
fix CMakeLists project names
2018-11-30 10:45:24 +01:00
Sébastien Loriot
cbbc6d842e
package depends on Eigen (for PCA)
2018-11-30 10:45:24 +01:00
Lingjie Zhu
0417398d2d
example use Surface_mesh
2018-11-30 10:45:19 +01:00
Sébastien Loriot
2ad5f03a70
add data remove after filtering
2018-11-30 10:45:05 +01:00
Lingjie Zhu
add74d7a5e
fix example cmake
2018-11-30 15:32:34 +08:00
Sébastien Loriot
b91dc57fd2
approximate_mesh -> approximate_triangle_mesh
2018-11-30 15:32:34 +08:00
Sébastien Loriot
f8c7ef3090
rename namespace from VSA -> Surface_mesh_approximation
2018-11-30 15:32:34 +08:00
Sébastien Loriot
fa0577a25a
rename subdirectory
2018-11-30 15:32:34 +08:00
Sébastien Loriot
c9d4ab26df
update signature to be consistent
2018-11-30 15:32:34 +08:00
Sébastien Loriot
ad964de61d
remove trailing whitespaces
2018-11-30 15:32:34 +08:00
Sébastien Loriot
7bf5cff4cf
accomodate update from master
2018-11-30 15:32:34 +08:00
Sébastien Loriot
99e09bba7a
use uppercase for enums and rephrasing
2018-11-30 15:32:34 +08:00
Lingjie Zhu
70ad3d2984
initialize seeds with named parameters
2018-11-30 15:32:34 +08:00
Lingjie Zhu
379daa1074
add directories reflecting the namespace
2018-11-30 15:32:34 +08:00
Lingjie Zhu
e96a8a6d8e
add output to example and test
2018-11-30 15:32:34 +08:00
Lingjie Zhu
e27a6b2b51
remove default constructor
2018-11-30 15:32:34 +08:00
Lingjie Zhu
3fdd1ee45b
facet -> face everywhere
2018-11-30 15:32:34 +08:00