Commit Graph

2512 Commits

Author SHA1 Message Date
Laurent Rineau 08126075a7 Merge pull request #1582 from afabri/Circular_kernel_2-ICL_variant_bug-GF
Circular_kernel_2: Add a dummy field to the variant to work around an ICL bug
2016-10-20 09:47:35 +02:00
Andreas Fabri eb64523536 Make the additional type a maco. Add operator(int) for a visitor 2016-10-18 16:03:40 +02:00
Laurent Rineau 78c8179ae6 Fix for clang
With clang, at least with older version like 3.5,
`__has_attribute(fallthrough)` is true but the syntax

    __attribute__(fallthrough)

is not recognized.
2016-10-17 13:45:42 +02:00
Laurent Rineau 5df371c0c1 Oops! 2016-10-17 13:45:42 +02:00
Laurent Rineau 90aa157c7b Conditional definition of CGAL_FALLTHROUGH 2016-10-17 13:45:42 +02:00
Andreas Fabri 0cf03af615 Preliminary support for adressing the -Wimplicit-fallthrough warning 2016-10-17 13:45:42 +02:00
Laurent Rineau b76e1e021a Merge pull request #1470 from sloriot/Nef_3-cst_from_FaceGraph
Add a Nef_3 constructor from a FaceGraph
2016-10-17 10:03:28 +02:00
Laurent Rineau 5ab5825013 Merge pull request #1466 from sloriot/BGL-add_nef_to_pm
Add a function to convert a Nef polyhedron to a polygon mesh
2016-10-17 10:03:24 +02:00
Laurent Rineau 0d5ddad5c3 Merge pull request #1534 from lrineau/CGAL-Allow_examples_to_use_cpp11_features-lrineau
Allow examples to use C++>=11 features
2016-10-17 10:03:05 +02:00
Laurent Rineau f2205ee9da Merge pull request #1128 from maxGimeno/Fix_for_1127-GF
Add a macro to customize deprecation warnings
2016-10-17 10:01:40 +02:00
Laurent Rineau 54ce89f314 Merge pull request #1560 from lrineau/Installation-fix_CGAL_VERSION_issue_1559-lrineau
Fix CGAL_VERSION in CGALConfig.cmake
2016-10-17 10:01:11 +02:00
Laurent Rineau e5b441feaa Fix CGAL_VERSION in CGALConfig.cmake 2016-10-10 12:31:21 +02:00
Laurent Rineau 451577719c Merge pull request #1542 from lrineau/Installation-fix_CGAL_SetupBoostlrineau
try_run to detect the C++ version
2016-10-07 14:38:22 +02:00
Laurent Rineau beb882981c Fix for CMake-2.8.11 and CMake-2.8.12 2016-10-06 18:18:50 +02:00
Laurent Rineau 420ba84b70 Deal with OpenMesh 2016-10-06 10:21:25 +02:00
Sébastien Loriot bcf57bda16 update changes.html 2016-10-05 15:30:59 +02:00
Laurent Rineau e2691e0123 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' 2016-10-05 15:20:00 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau 8f33571919 Merge pull request #1533 from lrineau/Scripts-cpp14_by_default-lrineau
Enable C++14 by default in generated CMake scripts
2016-10-05 13:03:58 +02:00
Laurent Rineau 1c19028e5b Merge pull request #1267 from maxGimeno/Random_generator-GF
Random generator
2016-10-05 13:02:29 +02:00
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Laurent Rineau 004dac6226 Merge pull request #1469 from lrineau/CGAL_ImageIO-better_read_raw-lrineau
better _readImage_raw()
2016-10-05 13:02:22 +02:00
Laurent Rineau 2539296237 Merge pull request #1490 from afabri/Kernel_d-static-GF
Kernel_d: Make variables thread local
2016-10-05 13:02:18 +02:00
Laurent Rineau 95f3b09de3 Use the same test as in <CGAL/config.h> 2016-10-05 10:14:53 +02:00
Laurent Rineau e8dede494e Avoir a CMake error
When the list `CMAKE_CXX_COMPILE_FEATURES` is empty, there was a syntax
error.
```
CMake Error at /mnt/testsuite/cmake/modules/CGAL_CreateSingleSourceCGALProgram.cmake:27 (list):
  list sub-command REMOVE_ITEM requires two or more arguments.
Call Stack (most recent call first):
  CMakeLists.txt:75 (create_single_source_cgal_program)

```
2016-10-05 10:07:01 +02:00
Laurent Rineau 360697e23c Add missing file 2016-10-04 19:41:15 +02:00
Laurent Rineau c1b070dd51 Use try_run to detect the C++ version 2016-10-04 16:57:19 +02:00
Laurent Rineau 87a2248ab6 Do no test demos
New directory property named `CGAL_NO_TESTING`. If set to `TRUE`, then
the automatic generating of CTest test will be disabled.

(cherry picked from commit 5d540fc1989c86438090b0212883b15cd121cf92)
2016-09-30 19:58:56 +02:00
Laurent Rineau 038207bc15 Fix CTest
I broke the support for .cmd files in 3d36fe05b3.
2016-09-30 19:46:58 +02:00
Laurent Rineau 50d753350e Allow examples to use C++>=11 features
The macro `create_single_source_cgal_program` from
`CGAL_CreateSingleSourceCGALProgram` has been modified accordingly.

(cherry picked from commit 571659aaa32a30d7bfc0ce54a9d29c56079dca06)
2016-09-30 18:42:46 +02:00
Laurent Rineau 67ed1a977a Update changes.html 2016-09-30 18:30:16 +02:00
Laurent Rineau 2cc5afd7b6 Enable C++14 by default in generated CMake scripts
(cherry picked from commit b11818e8d67dd741ac411bc02e108ddd9a290fd3)
2016-09-30 18:21:58 +02:00
Laurent Rineau bc03fae86c Add a whitelist
For now, `<CGAL/Linear_cell_complex_constructors.h>` is skipped.
2016-09-30 15:23:15 +02:00
Laurent Rineau e4d19ff0eb Better output for dependencies
Now the output is in `BUILDIR/package_info/*/`.
2016-09-30 15:23:15 +02:00
Laurent Rineau 367da380f1 Move and regenerate list_of_documented_headers.cmake 2016-09-30 15:23:15 +02:00
Laurent Rineau c76eec40b9 Deal with the IPE, RS, and LEDA dependencies
For RS and LEDA, it seems it does not work correctly.
2016-09-30 15:23:14 +02:00
Laurent Rineau 67e9da4770 FindIPE defines IPE_VERSION 2016-09-30 15:23:14 +02:00
Laurent Rineau b700a3f4da Fix a bug in the deps detection 2016-09-30 15:23:14 +02:00
Laurent Rineau 7fe5258c7f Handle the dependencies
- QGLViewer
- Eigen3
- VTK
- Qt5 modules
2016-09-30 15:22:29 +02:00
Laurent Rineau ceb6961594 Remove a debug message 2016-09-30 15:22:28 +02:00
Laurent Rineau c6855beb15 Only check the list of documented headers
That list of documented headers (contained in
`Installation/list_of_documented_headers.cmake`) is generated using a
shell script, with `ack`, by searching in the example .cpp files, and in
the Doxygen compiled documentation.
2016-09-30 15:22:28 +02:00
Andreas Fabri 867328fce5 Use CMAKE_CXX_FLAGS 2016-09-30 15:22:27 +02:00
Laurent Rineau ed680537c9 WIP: compute packages dependencies, using the compiler 2016-09-30 15:22:26 +02:00
Marc Glisse 942f13c26b Update list of boost headers that break Qt4 moc. 2016-09-30 11:12:19 +02:00
Andreas Fabri 5865160c27 We need another macro when the variable is default constructed.
In order to be future compatible I added the suffix "_0"  for "with 0 arguments"
The version without suffix will later get the suffix "_1"
I don't do that now, as there are many open branches to modify
We can do that once they are in master.
2016-09-29 09:24:28 +02:00
Sébastien Loriot 8fcb89a0e4 update changes 2016-09-28 13:13:29 +02:00
Sébastien Loriot 9e5ac35277 ..._on_tetrahedral_mesh_boundary_3 -> ..._in_tetrahedral_mesh_boundary_3 2016-09-28 10:59:09 +02:00
Sébastien Loriot 3965967cf6 Random_points_on_triangle_mesh_3 -> Random_points_in_triangle_mesh_3 2016-09-28 10:58:45 +02:00
Sébastien Loriot 95f7698049 require validity of the input in the doc + improve changes 2016-09-28 10:57:18 +02:00
Maxime Gimeno b352ec6cad Add doc for the new classes. 2016-09-28 10:48:09 +02:00