Laurent Rineau
b7631f19b5
Fix Ridges_3 and SM_shortest_path with Boost 1.70
2019-05-06 10:11:18 +02:00
Laurent Rineau
665c4e2c84
Fix Jet_fitting_3 with Boost 1.70
2019-05-06 09:34:37 +02:00
Laurent Rineau
623fd4f10f
If BUILD_SHARED_LIBS is not defined, use Boost shared libs
2019-05-03 18:39:30 +02:00
Laurent Rineau
e7d60760b9
Minimized the diff
...
Minimized the diff between:
- `examples/Classification/CMakeLists.txt`, and
- `test/Classification/CMakeLists.txt`.
2019-04-30 11:22:52 +02:00
Laurent Rineau
02dd93fc27
Boost Iostreams: link with ZLIB, if not Windows
...
If Boost static libraries are used, then ZLIB must be linked with
manually. With Boost shared libraries, the shared library
`boost_iostreams` itself is linked with ZLIB.
2019-04-30 11:21:47 +02:00
Laurent Rineau
7812d1b810
Boost: link with imported targets, if they exist
2019-04-29 16:36:04 +02:00
Laurent Rineau
3cb372be34
Do not search for Boost thread when not needed
2019-04-29 15:24:51 +02:00
Laurent Rineau
5b9766c946
Add VERBOSE=1 to Travis 'make' commands
2019-04-29 15:24:51 +02:00
Laurent Rineau
5e65027d46
I did not know clang defines __GNUC__
...
The patch now uses `BOOST_GCC`, to avoid including clang in the
conditional.
2019-04-29 09:52:14 +02:00
Laurent Rineau
af52b353d2
Boost 1.70 uses the CMake Config mode, now
2019-04-26 17:12:54 +02:00
Laurent Rineau
a9fd0a3729
Bug-fix: Boost Thread is a dependency of CGAL_Core only for GNU/g++
...
Previously, it was documented to g++ only, but the code was just
checking "not MSVC", and thus clang was in the set.
2019-04-26 17:12:01 +02:00
Laurent Rineau
6615d1d12d
Change the default value of CGAL_Boost_USE_STATIC_LIBS
...
It is now related to `BUILD_SHARED_LIBS`.
2019-04-26 17:11:24 +02:00
Laurent Rineau
36dba385a0
Add a bunch of new Boost versions
2019-04-26 17:10:49 +02:00
Laurent Rineau
f3bc713103
Typo in a comment
2019-04-26 17:10:35 +02:00
Laurent Rineau
f40550fef3
Merge pull request #3824 from lrineau/fix-Wnull-pointer-arithmetic
...
Fix AppleClang -Wnull-pointer-arithmetic warning
2019-04-08 15:57:34 +02:00
Laurent Rineau
b86532d357
Merge pull request #3830 from lrineau/Installation-fix_Windows_DLL_verinfo-lrineau
...
Fix CGAL DLLs verinfo on Windows
2019-04-08 15:57:31 +02:00
Laurent Rineau
ae1e01c983
Merge pull request #3840 from lrineau/Installation-remove_GMP_IN_CGAL_AUXILIARY-GF
...
Remove (GMP|MPFR)_IN_CGAL_AUXILIARY
2019-04-08 15:57:29 +02:00
Laurent Rineau
f629c6980b
Merge pull request #3842 from maxGimeno/Iterator_range_fix-GF
...
Fix Iterator_range for Apple Clang
2019-04-08 15:57:26 +02:00
Laurent Rineau
27f10ee7c9
Commited by error.
...
Partially revert "This branch now targets 4.13.2."
This reverts commit b392643a98 , partially.
2019-04-08 12:15:05 +02:00
Laurent Rineau
b392643a98
This branch now targets 4.13.2.
2019-04-05 14:50:41 +02:00
Maxime Gimeno
0cace864cd
Protect new code
2019-04-04 16:03:13 +02:00
Maxime Gimeno
b1a747b514
Add an conversion operator to tuple into Iterator_range to satisfy all versions of clang.
2019-04-04 15:54:07 +02:00
Laurent Rineau
d07a2c9184
Remove (GMP|MPFR)_IN_CGAL_AUXILIARY
...
There was a bug in `FindGMP.cmake` and `FindMPFR.cmake`: they were
using the undefined macro `cache_set`.
I have removed those variables definitions, and wrote the code
differently where they were used.
2019-04-04 15:25:01 +02:00
Laurent Rineau
34cf27b47e
Use std::ptrdiff_t, because the target branch is not C++11
...
`std::uintptr_t` was introduced by C++11, but the target branch if
CGAL-4.13-branch, does not require C++11.
2019-04-03 14:56:21 +02:00
Laurent Rineau
68f6ebf42d
More reinterpret_cast to avoid undefined behavior
2019-04-03 14:52:12 +02:00
Laurent Rineau
5a67ea92fc
Fix the verinfo of CGAL DLLs, on Windows
...
And fix the test files.
2019-04-03 14:15:58 +02:00
Laurent Rineau
85047bcb61
Sneak a new feature in this branch: detect unused .cpp files
...
For the moment, the feature is far from being ready:
- in case of header-only, the .cpp sources files of CGAL libraries are
reported,
- when a dependency for a test/examples is missing, the corresponding
.cpp files is reported,
- and I have no clue which CMake version is required.
But I found real issues.
By default, the feature is OFF. It will only be activated if the CMake
variable or cache variable `CGAL_CHECK_UNUSED_CPP_FILES` is true. We
might activate it on a per-directory basis... or have it by default,
and deactivate it per-directory. We'll see. For the moment, let's keep
it deactivated.
2019-04-03 14:11:50 +02:00
Laurent Rineau
eb769f13fd
Fix the error message
2019-04-03 14:10:57 +02:00
Laurent Rineau
bba76c20f3
Fix that find_path in case of cross-compilation
2019-04-03 14:10:42 +02:00
Laurent Rineau
aed5a55354
Fix the syntax of find_path
2019-04-03 14:10:27 +02:00
Laurent Rineau
c54e7c974b
Fix AppleClang -Wnull-pointer-arithmetic warning
2019-04-02 10:29:01 +02:00
Laurent Rineau
84b9328619
Merge branch 'releases/CGAL-4.12-branch' into releases/CGAL-4.13-branch
2019-03-29 15:49:12 +01:00
Laurent Rineau
3140674b09
Merge pull request #3807 from lrineau/Installation-fix_MPFR_static-GF
...
Fix the order of link when GMP is a static lib
2019-03-29 15:48:57 +01:00
Laurent Rineau
0d7cb7fefd
Merge pull request #3814 from MaelRL/Surface_mesh-Actually_reset_all_properties-GF
...
Surface Mesh: Fix not reseting edge property when a new element re-uses memory
2019-03-29 15:48:54 +01:00
Sébastien Loriot
676983ad94
also reset the property of the opposite halfedge
2019-03-28 18:16:08 +01:00
Mael Rouxel-Labbé
2a4d1abefa
Fixed not reseting edge property when a new element reuses memory
2019-03-28 17:30:48 +01:00
Laurent Rineau
1f5f1a6ff3
Merge pull request #3798 from sloriot/CGAL-doc_release_from_Ic
...
Fix for the doc of a release built from an Ic
2019-03-28 14:40:01 +01:00
Laurent Rineau
4b7cc4a896
Fix the order of link of GMPXX when GMP is a static library.
2019-03-28 09:04:03 +01:00
Laurent Rineau
310ce89b91
Fix the order of link when GMP is a static lib
2019-03-27 17:51:24 +01:00
Sébastien Loriot
1b94dd4189
fix the last non-relative link
2019-03-27 17:12:37 +01:00
Laurent Rineau
2f4284f0de
Merge branch 'releases/CGAL-4.12-branch' into releases/CGAL-4.13-branch
2019-03-26 16:43:16 +01:00
Laurent Rineau
0aa49e3549
Merge pull request #3783 from afabri/BGL_add_seams-GF
...
BGL: Seam_mesh::add_seams() requires .selection.txt
2019-03-26 16:42:59 +01:00
Laurent Rineau
c8e81ab5f6
Merge pull request #3783 from afabri/BGL_add_seams-GF
...
BGL: Seam_mesh::add_seams() requires .selection.txt
2019-03-26 16:42:27 +01:00
Sébastien Loriot
387843d946
Ignore -Ic-XXX for the version in the doc
2019-03-26 14:45:17 +01:00
Sébastien Loriot
ab534c5e60
use relative path
2019-03-26 14:45:06 +01:00
Andreas Fabri
99a16d2c8f
Fix example
2019-03-20 16:11:48 +01:00
Mael
f1dceb79ee
fix typo
2019-03-20 11:43:33 +01:00
Andreas Fabri
d31f685a0b
polish
2019-03-20 11:42:06 +01:00
Andreas Fabri
a9c3f9bc6c
BGL: Seam_mesh::add_seams() requires .selection.txt
2019-03-20 11:34:21 +01:00
Laurent Rineau
a5cb503786
Merge pull request #3735 from janetournois/PMP-fix_isotropic_remeshing_with_tiny_constraints-jtournois
...
PMP : fix isotropic remeshing surviving tiny constraints
2019-03-19 18:25:43 +01:00