Commit Graph

2083 Commits

Author SHA1 Message Date
Laurent Rineau 8eefb7f173 Merge branch 'master' into pr/lrineau/8273 2025-02-07 16:10:52 +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 e1e94a1304 fix a warning from UBSAN (in a postcondition) 2025-01-24 18:14:29 +01:00
Laurent Rineau d4e6ffddf4 fix protection against min/max macros
The regular expression I used was:

```
((?!(?:^.*(\/\/|\/\*).*|^ *\* .*|^[^"]*"(?:"[^"]*"|[^"])*))^(?:.*[ ,\(]|))(\b(?:(?:[A-Za-z]+::)*)(?:max|min))\b *\(
```
2025-01-14 16:12:34 +01:00
Sébastien Loriot 11640a3946 Merge remote-tracking branch 'cgal/6.0.x-branch' in master 2024-12-04 14:13:01 +01:00
mbarbier 56f57215b6 Fixing ICPC usage with modern cmake and wrappers
Related to conan's conan-io/conan-center-index#25843

replaced 'fp-model strict' by 'fp-model=strict' https://www.intel.com/content/www/us/en/docs/cpp-compiler/developer-guide-reference/2021-8/fp-model-fp.html
for more compatibility with nvcc. as 'fp-model=strict' will be directly
transmited to the compiler while 'fp-model strict' will have 'strict'
being treated as a file input.

Also added a CXX only filter for newer cmake 3.3+
2024-11-27 09:19:23 +00:00
Sébastien Loriot 42d435c9da add assertion to make sure that the rounding mode is good prior to the call 2024-11-20 18:01:52 +01:00
Sebastien Loriot 1690619625
CGAL: Modernize CMakeLists.txt (#8528)
## Summary of Changes

- Changed `PUBLIC` to `PRIVATE`  in the `target_link_libraries()`
- ~~Link against `Boost::<COMPONENT>`~~ as we do more than just linking
and must use the `CGAL::_.._support`
- Use `target_compile_definitions()` and `add_compile_definitions()`

More to be done.

## Release Management

* Affected package(s): all
* Issue(s) solved (if any): fix one item of  #4815
* License and copyright ownership: unchanged
2024-10-31 10:32:25 +01:00
Sébastien Loriot 7c4badc67c Merge pull request #8501 from afabri/CGAL-assert-GF
assert() ->  CGAL::assertion()
2024-10-21 19:17:21 +02:00
Laurent Rineau 96cd3e6f09 Merge remote-tracking branch 'cgal/master' into pr/afabri/8528 2024-10-17 00:25:24 +02:00
Andreas Fabri 527569346e CGAL: Modernize CMakeLists.txt 2024-10-08 17:02:41 +01:00
albert-github bb51556a64 issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
After review.
2024-10-05 11:57:54 +02:00
albert-github dd02af92a2 issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
Spelling corrections, `en-GB` -> `en-US`
2024-10-05 11:28:29 +02:00
Andreas Fabri 782e741310 CGAL: assert() -> CGAL::assertion() 2024-09-27 13:00:15 +01:00
Andreas Fabri 12468ccf4a Address #8401 2024-08-09 11:32:26 +01:00
Laurent Rineau 32893b91c0 Merge pull request #8263 from lrineau/CGAL-update_minimal_cmake-GF
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-12 10:06:12 +02:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
albert-github 36c8b7589d Spelling corrections
Last batch (for now) of spelling corrections in doxygen and normal comments
2024-05-31 19:05:34 +02:00
Laurent Rineau a3be6a04ae add a missing include 2024-04-24 16:42:52 +02:00
Laurent Rineau f305159a26 Merge remote-tracking branch 'cgal/master' into pr/sloriot/7373 2024-04-23 14:37:29 +02:00
Laurent Rineau 67d55f8afe fix missing include of <cstdint.h> 2024-04-22 15:15:29 +02:00
Laurent Rineau 66c1b9b9e0 fix a compilation error detected locally by CTest 2024-04-19 16:46:12 +02:00
Laurent Rineau 78f98041c6 add a comment 2024-04-19 16:45:49 +02:00
Sébastien Loriot 8ef3ffa5fb fix warning 2024-04-02 10:16:39 +02:00
Sébastien Loriot 152999929b also print info on CORE 2024-03-29 12:13:46 +01:00
Laurent Rineau 77297df8d6 deal with AppleClang 15 2024-03-29 08:36:06 +01:00
Laurent Rineau 8b16105a3d deal with missing <source_location> 2024-03-29 08:30:03 +01:00
Laurent Rineau d5ae0c9b94 add a test, and the new class template NT_wrapper 2024-03-28 15:44:47 +01:00
Sébastien Loriot 2991e85cdd add function to display the exact backend as a string 2024-03-27 13:22:09 +01:00
Sébastien Loriot 492133a0c6 test Exact_integer and Exact_rational are as expected 2024-03-27 13:11:02 +01:00
Sebastien Loriot a42ffdec11
Merge branch 'master' into CORE-boost_mp_number-GF 2024-03-26 00:27:22 +01:00
Andreas Fabri 93c94ca115 static_cast<long> and assertion that it fits 2024-03-22 11:28:50 +01:00
Laurent Rineau 7a17b47d9f Merge pull request #8052 from afabri/Polygon-exact_area-GF
Polygon: Avoid stackoverflow when summing exact numbers

# Conflicts:
#	Polygon/include/CGAL/Polygon_2_algorithms.h
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2024-03-22 09:18:07 +01:00
Sébastien Loriot c249476467 fix conversion warning
follow the code rather than the doc...
2024-03-20 13:42:45 +01:00
Sébastien Loriot ae324aee83 fix compilation issue + use boost mp type 2024-03-19 15:27:54 +01:00
Sébastien Loriot 01f89b0ccc make call no longer ambiguious 2024-03-15 11:37:18 +01:00
Sébastien Loriot 694099b6ec fix macro name 2024-03-14 17:41:10 +01:00
Sébastien Loriot 24015ce3a7 fix conditional compilation of programs using CORE 2024-03-14 11:30:14 +01:00
Sébastien Loriot 44b7ec6f3a improve detection of cases when Core can be used 2024-03-14 11:11:18 +01:00
Laurent Rineau 217bfa30a5 Merge pull request #8002 from afabri/CORE-zero_one-GF
Core: Use Expr::is_zero() of AST
2024-03-14 11:05:09 +01:00
Sébastien Loriot f34745c4d8 use a functor for collapsing the DAG to not depend on Filtered_kernel
nor inclusion order
2024-03-14 10:02:30 +01:00
Sébastien Loriot cac4f5c854 avoid GMP dependency 2024-02-29 11:29:15 +01:00
Sébastien Loriot 432449b23b fix compilation issues
mainly due to expression template
2024-02-28 13:55:01 +01:00
Sébastien Loriot c9c089ccc1 remove GMP specific files and hide GMP specific code 2024-02-28 11:38:56 +01:00
Sébastien Loriot f802557b7b sync with master@ec9de37b61 2024-02-27 11:23:44 +01:00
Andreas Fabri e20485782c Fixes for expression templates 2024-02-23 16:46:34 +00:00
Andreas Fabri 97fbd69822 remove duplicate line 2024-02-23 16:14:41 +00:00
Andreas Fabri e4558a4d4b Merge branch 'master' into CORE-boost_mp_number-GF 2024-02-23 17:04:37 +01:00
Andreas Fabri 290f79777e Keep only Is_zero 2024-02-22 08:59:56 +00:00
Andreas Fabri 60328a74a7
Update Number_types/include/CGAL/CORE_Expr.h
Co-authored-by: Marc Glisse <marc.glisse@inria.fr>
2024-01-26 08:48:28 +01:00