Maxime Gimeno
b352ec6cad
Add doc for the new classes.
2016-09-28 10:48:09 +02:00
Maxime Gimeno
c013d9d292
Clean-up
...
- Replace Mesh by TriangleMesh
- update changes.html and doc sections
- remove useless .off in examples
2016-09-28 10:48:07 +02:00
Maxime Gimeno
2912b9d40b
Fixes in the doc
2016-09-28 10:46:42 +02:00
Maxime Gimeno
a683fdca47
changes.html update
2016-09-28 10:46:40 +02:00
Laurent Rineau
a90a921aff
Merge pull request #1420 from afabri/Box_intersection_d-static-GF
...
Box_intersection_d: Make variables thread local
2016-09-27 17:48:58 +02:00
Laurent Rineau
54782db38f
Merge pull request #1476 from imiordanov/Triangulation_data_structure_2-insert_in_hole-IIordanov
...
Triangulation data structure 2 insert in hole i iordanov
2016-09-23 16:56:26 +02:00
Laurent Rineau
4707b2ed29
Merge pull request #1443 from TManhente/master
...
Adds CMake package version file generation
2016-09-23 16:52:13 +02:00
Andreas Fabri
9d36d33e46
Define and use CGAL_NO_ATOMIC
2016-09-22 15:41:53 +02:00
Iordan Iordanov
6e5953cd68
Added description to changes.html
2016-09-21 10:40:32 +02:00
Sébastien Loriot
dd421a6b39
update changes
2016-09-21 08:48:25 +02:00
Laurent Rineau
d8b564e003
Use CGAL_add_test.cmake
2016-09-20 10:53:20 +02:00
Laurent Rineau
3d36fe05b3
WIP: the Arr_2 testsuite is now working!!
2016-09-20 10:53:20 +02:00
Laurent Rineau
c0f36af442
Add a comment
2016-09-20 10:53:20 +02:00
Laurent Rineau
0a88180b51
Handle the case when a glob pattern is in .cmd
...
In that case, CMake must use globbing to interpret the content of the
.cmd file.
2016-09-20 10:53:20 +02:00
Laurent Rineau
545e80f18e
Add a variable CGAL_CURRENT_SOURCE_DIR
...
Save the current source directory to `CGAL_CURRENT_SOURCE_DIR`. The
variable value is modified by a `CMakeLists.txt` file when it is
generated by `cgal_create_cmake_script` in the binary tree. The script
`cgal_create_cmake_script` itself it called by CMake, by the function
`process_CGAL_subdirectory` (see its definition in
`Installation/cmake/modules/CGAL_Macros.cmake`), called in
`(examples|test|demo)/CMakeLists.txt`.
Eventually, that variable value is supposed to be the directory to the
current sources, even if the current `CMakeLists.txt` is within the
binary tree.
That is used in `CGAL_CreateSingleSourceCGALProgram.cmake` for the CTest
support, so set correctly the current working directory (in the
directory of the tests/examples).
2016-09-20 10:53:20 +02:00
Laurent Rineau
c30560143b
Correctly handle `.cmd` files
...
The trick to use the CMake command `separate_arguments` to interpret the
lines of the `.cmd` file.
2016-09-20 10:53:20 +02:00
Laurent Rineau
0f1999f1bf
Add a test that will fail
...
With the `WILL_FAIL` property, ctest will make the test success
if it fails.
The `cgal_test` script will not run it, because the file
`will_fail.cpp` does not contain a `main` function.
2016-09-20 10:53:20 +02:00
Laurent Rineau
37e138b252
CTest in branch builds
2016-09-20 10:53:20 +02:00
Laurent Rineau
269feff7e1
Handle .cin files correctly, with a CMake script in process mode
...
Handle also multi-line `.cmd` files.
2016-09-20 10:53:20 +02:00
Laurent Rineau
48caa236f6
Prepare changes.html for 4.10
2016-09-19 17:56:59 +02:00
Simon Giraudot
ec00930b74
Update changes.html
2016-09-19 07:43:22 +02:00
Laurent Rineau
dc3c7a5c1c
better _readImage_raw()
2016-09-16 17:07:13 +02:00
Sébastien Loriot
da84b03941
better handling with cmake 3.4 and greater
2016-09-13 16:38:07 +02:00
Sébastien Loriot
ca8cfba5ad
-ansi implies c++98 -> update script requirements of boost libraries
2016-09-13 14:22:49 +02:00
Thiago M. de C. Marques
6cfa204b29
Fixes the version compatibility to `SameMajorVersion`
...
See: https://github.com/CGAL/cgal/pull/1443#discussion-diff-78162752
2016-09-09 08:32:30 -03:00
Thiago M. de C. Marques
9c338ad61a
Removes the copy of the package version file to the build config folder
...
See: https://github.com/CGAL/cgal/pull/1443#discussion-diff-78147435
2016-09-09 08:32:21 -03:00
Thiago M. de C. Marques
a24dd7dd1c
Adds CMake package version file generation
...
This allows clients to specify a minimum CGAL version in their CMake list files.
Eg.:
find_package(CGAL 4.9)
More info: https://cmake.org/cmake/help/v3.6/manual/cmake-packages.7.html#package-version-file
2016-09-08 21:14:20 -03:00
Sébastien Loriot
7e2ee496de
update project name of cmake scripts of tests
2016-09-08 00:26:37 +02:00
Simon Giraudot
195e4083dc
Update changes.html
2016-08-10 16:10:22 +02:00
Laurent Rineau
1c16ae9a52
Merge pull request #1309 from lrineau/CGAL-fix_HEADER_ONLY-lrineau
...
Hack to fix a bug with CGAL_HEADER_ONLY
2016-07-28 16:44:58 +02:00
Laurent Rineau
acf339d27f
Hack to fix a bug with CGAL_HEADER_ONLY
...
If a `CMakeCache.txt ` is first created without `CGAL_HEADER_ONLY`, and
then `CGAL_HEADER_ONLY` is set, then CMake displays error messages like:
```
CMake Error: Target CGAL has dependency information when it shouldn't.
Your cache is probably stale. Please remove the entry
CGAL_LIB_DEPENDS
from the cache.
```
The problem comes from the fact that the target `CGAL` was first created as
a library target, and then turned into an "interface library" target.
This patch fixes the error the simplest way: remove the aforementioned
variable from the cache if it is present.
2016-07-28 16:40:04 +02:00
Laurent Rineau
b9465c31ec
Fix the indentation
2016-07-28 16:33:41 +02:00
Laurent Rineau
4a8602b49e
Set CMP0056 if CMake>=3.2
2016-07-27 16:26:55 +02:00
Laurent Rineau
1ec30bd830
Merge branch 'releases/CGAL-4.8-branch'
...
This merge imports:
> Merge pull request #1304 from sloriot/Installation-remove_config_test
2016-07-27 16:18:33 +02:00
Laurent Rineau
f96b186445
prepare 4.9-alpha1
2016-07-26 12:33:39 +02:00
Sébastien Loriot
98121af143
replace library compile time test
2016-07-26 11:58:03 +02:00
Laurent Rineau
890e1e0acb
Merge pull request #1293 from sloriot/Combinatorial_map-remove_deprecated_api
...
remove old API deprecated since CGAL 4.4
2016-07-25 10:36:52 +02:00
Laurent Rineau
2cd9a15bb9
Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
...
Merge the following merge commits:
> 12b92f5 Merge pull request #1271 from lrineau/Mesh_3-distance_criterion_sizing_field-GF
> 9c3d0b0 Merge pull request #1295 from lrineau/CGAL-add_test-GF
Conflicts:
Maintenance/release_building/BUGFIX_NUMBER
Maintenance/release_building/public_release_name
2016-07-22 18:31:02 +02:00
Laurent Rineau
3ff72add4a
Add a comment with a TODO
2016-07-21 16:34:42 +02:00
Laurent Rineau
1da7e81b55
Add the project name to the LABELS property
2016-07-21 15:44:30 +02:00
Laurent Rineau
c65d3abe17
Add support for CTest
2016-07-21 14:42:35 +02:00
Sébastien Loriot
3721536402
update changes
2016-07-21 13:53:26 +02:00
Laurent Rineau
b2c9d14937
Merge pull request #1178 from cjamin/patch-2
...
Add TBB support for MSVC14
2016-07-20 18:08:27 +02:00
Simon Giraudot
9fa12bf982
Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF
2016-07-19 14:50:15 +02:00
Maxime Gimeno
dc797391a3
Fix macro mithout argument.
2016-07-13 10:27:24 +02:00
Laurent Rineau
5ebfefe72c
Merge pull request #894 from gdamiand/CGAL_headers_only_step1-gdamiand_cjamin
...
CGAL header-only: step 1
(I actually do this merge for the Github interface for mobile phones! How much does that add to my geek-value?)
2016-07-05 19:50:36 +02:00
Sebastien Loriot
2d0e402e5b
Merge pull request #1195 from sloriot/SMD-add_sre_arap
...
Add Smoothed Rotation Enhanced As-Rigid-As-Possible
2016-07-05 16:25:17 +02:00
Sébastien Loriot
99e36bfb0d
update changes
2016-07-05 16:20:48 +02:00
Simon Giraudot
08b0711ee4
Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF
2016-07-05 14:16:54 +02:00
Guillaume Damiand
46463202cb
By default, CGAL_HEADER_ONLY is OFF.
2016-07-04 10:40:04 +02:00
Sébastien Loriot
e3a44a9d75
remove the flag CGAL_USE_PROPERTY_MAPS_API_V1 and keep only new API
2016-07-04 10:17:38 +02:00
Clement Jamin
280036e488
Fix CGAL_DEPRECATED_UNUSED definition
2016-07-01 16:54:58 +02:00
Clement Jamin
3f130026bd
Typos
2016-06-29 14:55:39 +02:00
Clement Jamin
7103bcf0e6
Add header-only in changes.html
2016-06-29 14:43:27 +02:00
Laurent Rineau
1cde972cdb
Remove whitespace at end of lines
2016-06-29 11:04:29 +02:00
Guillaume Damiand
4165a5a312
Replace the test on policy 0043 by a test on the cmake major version.
2016-06-28 12:18:07 +02:00
Guillaume Damiand
7717bc83b4
ImageIo does not need opengl nor vtk
2016-06-28 11:29:51 +02:00
Guillaume Damiand
157f2507cf
Re-add find_package(Qt5 QUIET COMPONENTS OpenGL Svg) and find_package(OpenGL QUIET) in CGALConfig; they are required in header only mode
2016-06-24 18:58:44 +02:00
Sébastien Loriot
10cadcb985
Merge remote-tracking branch 'cgal-dev/CGAL_headers_only_step1-gdamiand_cjamin' into HEAD
2016-06-24 17:05:40 +02:00
Guillaume Damiand
c4758f091a
Simplify CGALConfig files: we do not need anymore to find zlib, nor opengl.
2016-06-24 14:38:28 +02:00
Guillaume Damiand
c27d1d8c6f
Public keywork for target link libraries does not work on my system.
2016-06-24 14:37:22 +02:00
Sébastien Loriot
c951fe0fca
Merge pull request #1035 from lrineau/CGAL-fix_Wconversion_warnings-GF
...
Fix -Wconversion warnings, and issues detected by those warnings
2016-06-24 13:30:48 +02:00
Guillaume Damiand
98a5d85811
Patch to link 3rd party libraries with CGAL in header only mode (thanks @lrineau)
2016-06-24 09:58:16 +02:00
Guillaume Damiand
d64f43ac73
The option CGAL_HEADER_ONLY is enabled only for cmake >= 3.0 (because in this case we use INTERFACE library)
2016-06-24 09:56:11 +02:00
Guillaume Damiand
e21ef313c0
Merge branch 'CGAL_headers_only_step1-gdamiand_cjamin-old' into CGAL_headers_only_step1-gdamiand_cjamin
2016-06-22 20:54:37 +02:00
Guillaume Damiand
50125f1d53
First try to use an interface target in header only; in order to allow to link with this fictive target.
2016-06-22 13:44:50 +02:00
Sebastien Loriot
3d8d50fa47
Merge pull request #1183 from sloriot/CMake-Install_relocable
...
Make CGAL installation relocable
2016-06-22 13:16:33 +02:00
Sébastien Loriot
79ad1b2dc6
Merge pull request #1141 from janetournois/PMP-isotropic_remeshing_smoothing_options-jtournois
...
PMP isotropic_remeshing : smoothing options
2016-06-22 11:46:05 +02:00
Guillaume Damiand
f6428de32c
include only .cmake file when they exist.
2016-06-21 19:08:06 +02:00
Guillaume Damiand
7b49c34709
Remove the creation of empty file
2016-06-21 19:06:21 +02:00
Guillaume Damiand
276c8271ab
Remove a debug message
2016-06-21 12:27:44 +02:00
Guillaume Damiand
1f40288aa3
Update cmakes in order to deal with install version of CGAL in header only mode.
2016-06-21 11:20:28 +02:00
Sébastien Loriot
0b8115daff
Make CGAL installation relocable
2016-06-16 11:11:46 +02:00
Clement Jamin
b175d15421
Simplify test
2016-06-15 11:49:58 +02:00
Clément Jamin
c1fe6fb342
Add TBB support for MSVC14
...
TBB now supports MSVC 2015 (= VC14)
https://software.intel.com/en-us/articles/whats-new-intel-threading-building-blocks-44-update-1
2016-06-15 11:03:58 +02:00
Clement Jamin
561bd80d96
On Windows, OPENGL_INCLUDE_DIR is empty even when OpenGL is found
2016-06-10 15:05:16 +02:00
Guillaume Damiand
a53f16edac
Merge branch 'CGAL_headers_only_step1-gdamiand_cjamin-old' into CGAL_headers_only_step1-gdamiand_cjamin
2016-06-09 19:09:38 +02:00
Guillaume Damiand
b8d2782e39
Remove empty include directory directive.
2016-06-09 16:19:55 +02:00
Guillaume Damiand
a5e04dcfd0
Update cmakes to deal with ZLIB in header only mode.
2016-06-09 15:39:56 +02:00
Sebastien Loriot
b13b098d3b
Merge pull request #1066 from ws4u/Cone_spanners_2-new_package-UWS
...
Cone spanners 2 new package uws
2016-06-08 14:49:13 +02:00
Sebastien Loriot
0058e85c02
Merge pull request #1136 from sloriot/CGAL-Set_Eigen_use_file
...
Set Eigen3 use file name in CGAL common
2016-06-08 14:12:25 +02:00
Sebastien Loriot
1ebaebc6aa
Merge pull request #1101 from maxGimeno/Enhance_triangulate_facets-GF
...
Robustify triangulate facets
2016-06-08 09:50:48 +02:00
Jane Tournois
ba124232dc
update changes.html
2016-06-07 15:27:30 +02:00
Sébastien Loriot
3cf08a5949
Set Eigen3 use file name in CGAL common
...
ensure the use file is known even if the FindEigen3.cmake
shipped with Eigen is used
2016-06-06 14:07:23 +02:00
Guillaume Damiand
6e92eafab7
Enable header only by default (for testing)
2016-06-05 20:49:48 +02:00
Efi Fogel
d50b3d61b0
Reflected changes to the 2D Minkowski Sumspackage
2016-06-04 09:52:22 +03:00
Guillaume Damiand
d544f4a5f7
Remove the unused variable warning for the deprecated variable default_random.
2016-06-03 18:11:34 +02:00
Guillaume Damiand
89edc17cb1
Add quit to find_package; and improve error message for Qt5
2016-06-03 09:25:54 +02:00
Maxime Gimeno
1a76a04931
Add a macro to customize deprecation warnings.
2016-06-02 15:45:20 +02:00
Guillaume Damiand
b507b12d4f
Do not add in link_libraries in header only mode.
2016-06-01 19:18:43 +02:00
Maxime Gimeno
fc992ed0c3
Replace the string(REPLACE vc...) by a single string(REGEX REPLACE ...).
2016-06-01 09:59:27 +02:00
Guillaume Damiand
10469f9c4e
Update with master
2016-05-25 10:58:55 +02:00
Maxime Gimeno
571c87eab6
Edit the Changes.html
2016-05-24 11:42:09 +02:00
Simon Giraudot
a6b11751b1
Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF
2016-05-17 10:00:03 +02:00
Sebastien Loriot
16532b2670
Merge pull request #1069 from lrineau/CGAL-CMake_scripts_determinism-GF
...
Sort results of file(GLOB ...) to make build deterministic
2016-05-11 17:34:31 +02:00
Guillaume Damiand
db388cb081
Update changes.html
2016-05-10 09:51:27 +02:00
Sébastien Loriot
d892ef1a89
Merge pull request #1030 from janetournois/PMP-remeshing_with_patch_ids-jtournois
...
PMP : new features for isotropic_remeshing
2016-05-09 09:43:08 +02:00
Sebastien Loriot
f429eef8a7
Merge pull request #1039 from afabri/AABB_tree-ray_intersection-pmoeller
...
Aabb tree ray intersection pmoeller
2016-05-09 09:40:12 +02:00
Laurent Rineau
a96ec65c54
Sort results of file(GLOB ...) to make build deterministic
...
Patch from Joachim Reichel <reichel@debian.org>, adapted from the flat
layout to the Git layout.
Fix #1048 .
2016-05-06 16:50:16 +02:00
Laurent Rineau
35431e469f
Trivial. Add '<li>' for the syntax
2016-05-06 16:23:24 +02:00
Weisheng Si
4b4d8e2415
Add "the directions of cone boundaries" to the package description on
...
user inputs, since I deem this is an important feature of this package.
2016-05-04 15:39:56 +02:00
Sébastien Loriot
3c8871f8a9
Merge pull request #739 from bo0ts/Pmp-poly_soup_poly_mesh-pmoeller
...
Add PMP function is_polygon_soup_a_polygon_mesh
2016-05-04 15:01:25 +02:00
Simon Giraudot
92df99ccb9
Fix changes.html (item in 4.8 should be in 4.9)
2016-05-04 10:48:22 +02:00
Sébastien Loriot
33997091e3
fix typo
2016-05-03 16:58:21 +02:00
Sebastien Loriot
021806721a
Merge pull request #1031 from sgiraudot/Point_set_processing-Extend_ply_reader-GF
...
Point set processing: extend PLY reader
2016-04-29 13:13:54 +02:00
Sebastien Loriot
54b244c430
Merge pull request #914 from sgiraudot/Point_set_shape_detection_3-Plane_regularization-GF
...
Point set shape detection: Plane regularization
2016-04-29 13:08:44 +02:00
Sébastien Loriot
03f9c56c76
Make the code matching the submission
...
- rename first_intersection_and_primitive to first_intersection
- update examples and test
- switch on the function doc
- add implementation for first_intersected_primitive
2016-04-26 17:12:15 +02:00
Andreas Fabri
2fabd2c170
Add the second function; change changes.html
2016-04-26 17:12:14 +02:00
Andreas Fabri
768b34068e
Update changes.html
2016-04-26 17:12:14 +02:00
Andreas Fabri
02f922e6f6
Add to changes.html
2016-04-26 09:07:07 +02:00
Laurent Rineau
810538d221
Fix 32bits issues in ImageIO
...
Those issues were detected by the compilation flag `-Wconversion` of
g++-5.3.
That changes the ABI of CGAL_ImageIO.
2016-04-22 12:35:32 +02:00
Jane Tournois
5b3b67798f
update changes.html
2016-04-22 11:12:54 +02:00
Andreas Fabri
f3c7974ca6
Dual has been added in 4.9, not in 4.8
2016-04-19 17:36:52 +02:00
Jane Tournois
70ad662852
move from 4.8 to 4.9 in changes.html
2016-04-19 10:57:04 +02:00
Laurent Rineau
ea1462d6da
Merge pull request #728 from bo0ts/BGL-document_copy_face_graph-pmoeller
...
Add BGL helper copy_face_graph()
2016-04-18 15:07:26 +02:00
Philipp Möller
a10822881d
Update changes.html
...
and remove the TODO
2016-04-18 12:08:39 +02:00
Philipp Möller
86814f5e37
Update changes.html
2016-04-15 10:04:40 +02:00
Simon Giraudot
372b2d161a
Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old-old' into Point_set_processing_3-Point_set_structuring-GF-old
2016-04-12 14:01:45 +02:00
Simon Giraudot
2d5a38150b
Merge branch 'Point_set_processing-Extend_ply_reader-GF-old' into Point_set_processing-Extend_ply_reader-GF
2016-04-12 11:56:01 +02:00
Laurent Rineau
617d5f2856
Merge pull request #843 from afabri/Random_print_seed-GF
...
Print the seed of CGAL::default_random
2016-04-01 11:02:54 +02:00
Laurent Rineau
0e68aca4ed
Merge branch 'releases/CGAL-4.8-branch'
...
Merges:
- a change of the release date of CGAL-4.8
- a fix of a typo in `Polyhedron/demo/Polyhedron/GlSplat/GlSplat.cpp`
2016-03-30 17:11:36 +02:00
Laurent Rineau
e7c1d74fe6
CGAL-4.8 will not be published in March, but in April
2016-03-30 17:10:24 +02:00
Laurent Rineau
fd4e0a51cc
Fix the SOVERSION
...
(Partially reverts commit 79f54a6c7c3af0a1aa1a6e845990fd06f950f63b.)
2016-03-29 12:10:37 +02:00
Laurent Rineau
076c982dbf
Merge pull request #676 from bo0ts/BGL-document_dual-pmoeller
...
BGL: document Dual
2016-03-24 17:11:27 +01:00
Laurent Rineau
03f4859026
Merge pull request #931 from marv/cmake-arch-indenpendent-files
...
Include GNUInstallDirs and use CMAKE_INSTALL_* variables
2016-03-24 13:16:59 +01:00
Laurent Rineau
71d91f9b99
Merge pull request #835 from bo0ts/patch-1
...
Require correct Boost version through CMake
2016-03-24 11:31:38 +01:00
Laurent Rineau
5b48eedf20
Merge pull request #790 from bo0ts/Installation-remove_ALL_PRECONFIGURED-pmoeller
...
Remove option CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT and associated code
2016-03-24 11:30:14 +01:00
Laurent Rineau
79f54a6c7c
Bump the SOVERSION_MINOR
...
- With the addition of that new function Random::Random(char*), the ABI
changes, but in a compatible way -> bump the minor version of
SOVERSION. The SONAME remains unchanged.
- Add tests for `Random` with and without `CGAL_TEST_SUITE`. That will
make a difference only with header-only, because at the time the tests
are compiled, libCGAL is already compiled.
2016-03-23 11:27:33 +01:00
Marvin Schmidt
887fade6d7
Include GNUInstallDirs and use CMAKE_INSTALL_* variables
...
This allows installing the architecture-independent data outside the
prefix. This is particularly necessary on systems using a
multi-architecture layout where architecture-dependent files live in
/usr/${host_triple}/ and architecture-independent files in /usr/share.
2016-03-19 16:44:22 +01:00
Laurent Rineau
10061126a2
Merge branch 'releases/CGAL-4.8-branch'
...
Fixes the SOVERSION
2016-03-18 15:36:23 +01:00
Laurent Rineau
e98bc7ebb5
I have tried to run CGAL demos from 4.8 with 4.7 libs
...
I am surprised that the branch 'header-only, step 0' did not break the
ABI! Good job, guys.
2016-03-18 15:32:35 +01:00
Laurent Rineau
63aa64fa3a
`master` now targets the release 4.9
2016-03-18 15:01:31 +01:00
Laurent Rineau
b6eab033d1
Merge pull request #924 from sgiraudot/Optimal_transportation_reconstruction_2-Change_name_in_changes_html-GF
...
Update name of 2D reconstruction in changes.html
2016-03-18 13:51:54 +01:00
Simon Giraudot
1aaca82150
Update name of 2D reconstruction in changes.html
2016-03-18 13:12:30 +01:00
Laurent Rineau
588e51fe40
In the construction of all_files.cpp, avoid qrc files
...
Fix #834 .
2016-03-17 16:55:08 +01:00
Simon Giraudot
7276c06c36
Merge branch 'Point_set_shape_detection_3-Plane_regularization-GF-old' into Point_set_shape_detection_3-Plane_regularization-GF
2016-03-15 10:37:02 +01:00
Simon Giraudot
dd235c6b92
Update changes.html
2016-03-14 15:31:30 +01:00
Clement Jamin
1526a93a31
CGAL_AUTO_LINK_ENABLED is also used for Boost & co
...
So we need it even in header-only mode.
CGAL auto-link is already disabled in auto_link.h so it's not a problem.
2016-03-11 09:47:59 +01:00
Laurent Rineau
31d416df4e
Fixes the PR #788
...
With the split of `CGALConfig.cmake` into several files, one for each
lib, then the variable `CGAL_ImageIO_USE_ZLIB` was no longer stored in
`CGALConfig.cmake`.
That led to a full blue line in the testsuite:
https://cgal.geometryfactory.com/CGAL/Members/testsuite/results-4.8-Ic-155.shtml#Mesh_3_Examples
2016-03-10 11:56:55 +01:00
Laurent Rineau
3536c89d70
Fix CGALConfig.cmake header-only
2016-03-09 18:53:59 +01:00
Guillaume Damiand
bcd3b6cde3
Remove unused variable
2016-03-09 17:31:24 +01:00
Laurent Rineau
fd42bc1d15
Step 2
...
CGAL_ImageIO and CGAL_Qt5 are not even configured in header-only
mode. They will be configured later by `CGALConfig.cmake`.
2016-03-09 17:14:04 +01:00
Guillaume Damiand
24b156e3c6
Add cgal header only also in CGALConfig_install.cmake.in
2016-03-09 16:38:54 +01:00
Guillaume Damiand
700da4729b
Remove install command removed in a previous commit and reintroduce here by a wrong resolved.
2016-03-09 12:50:18 +01:00
Guillaume Damiand
b9d209ee62
Search required third party library in find component macro.
2016-03-09 12:41:42 +01:00
Clement Jamin
dd3ed5b07c
Remove the "S" from HEADERS_ONLY
2016-03-09 10:58:55 +01:00
Guillaume Damiand
94f2565c6a
Replace the name of the variable to enable header only mode in CGAL_HEADERS_ONLY
2016-03-09 10:56:11 +01:00
Guillaume Damiand
0f0aa9f764
Remove the find_package qt5 do in CGAL_Macros.cmake which is now done in CGALConfig_binary.cmake.in
2016-03-09 10:50:53 +01:00
Guillaume Damiand
dff63d83d3
Correct the problem of cmake qt5 macro not available in header only when configuring cgal_qt5.
...
To solve this problem, we added in the macro check_cgal_component the find package of qt5 if we are configuring cgal_qt5.
2016-03-09 10:44:15 +01:00
Guillaume Damiand
38ca4dd5e0
Bugfix in check_cgal_component for its first call.
2016-03-09 10:42:46 +01:00
Guillaume Damiand
561b1f2a38
Do not need cgal_include_moc_files macro
2016-03-09 10:37:58 +01:00
Guillaume Damiand
16a19eb33e
Ok for demo for aabbtree
2016-03-09 10:37:57 +01:00
Guillaume Damiand
78cde742ce
Work on demo with qt5; ok for AABBtree (but need to be improved)
2016-03-09 10:35:22 +01:00
Guillaume Damiand
d56092753a
Make enable_header_only option persistent
2016-03-09 10:35:21 +01:00
Guillaume Damiand
f5baf48d5e
Do not export cgal in header only mode
2016-03-09 10:32:32 +01:00
Guillaume Damiand
ed2956eec2
Do not use qt5 module in header only mode
2016-03-09 10:31:17 +01:00
Clement Jamin
c7d3a58688
Do not set CGAL_AUTO_LINK_ENABLED to TRUE in header only mode
2016-03-09 10:31:17 +01:00
Guillaume Damiand
c58ab58860
Do not empty cgal configured libraries variable in header only mode.
2016-03-09 10:31:17 +01:00
Guillaume Damiand
c5bfaf53d0
Avoid the build of cgal library in header only mode
2016-03-09 10:31:16 +01:00
Guillaume Damiand
6d55c3b140
Do the target_link_libraries in all CGAL_XXX libraries only in non header only mode.
2016-03-09 10:22:43 +01:00
Clement Jamin
fd1b4889f0
Disable auto-link when using header-only CGAL
2016-03-09 10:20:05 +01:00
Guillaume Damiand
19c28de969
Add option to enable cgal header only.
2016-03-09 10:20:05 +01:00
Sébastien Loriot
45406a5296
Merge pull request #788 from bo0ts/Installation-split_config-pmoeller
...
Split CGALConfig.cmake and CGALExports.cmake
2016-03-06 15:36:55 +01:00
Sébastien Loriot
a3ba66c458
include export and lib config files on demand
2016-03-04 12:05:25 +01:00
Philipp Moeller
e261b3ad4f
Require correct Boost version through CMake
...
This catches errors early and provides a clear error message instead of waiting for something in a test or example to break.
2016-02-26 17:52:36 +01:00
Sébastien Loriot
10fd2ab2ff
update changes
2016-02-22 13:03:51 +01:00
Philipp Möller
9e7423fba6
Add missing _LIBRARY to variable on MSVC
2016-02-18 15:01:37 +01:00
Philipp Möller
0a685e82b3
Remove CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT from Macros
...
This is the only place that uses the option. Because the code was
wrongly indented (several ifs missing a level) the removal looks
horrible.
2016-02-16 17:21:23 +01:00
Philipp Möller
ecb34b3031
Remove option CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT
...
Do not add it to Config.cmake files anymore and remove it from the
interface
2016-02-16 17:20:22 +01:00
Philipp Möller
c72cc9fa8a
Remove outdated variables
2016-02-16 17:02:56 +01:00
Philipp Möller
732d6ccb96
Generate a config file for each lib
2016-02-16 17:02:56 +01:00
Philipp Möller
1a68a004c1
Split *Export.cmake files
...
Note that the build tree still uses a single CGALExports.cmake file,
while for each library a special export file is installed.
2016-02-16 17:02:56 +01:00
Philipp Möller
1aa334ff34
Remove unnecessary variable
...
Never used anywhere and does not work with out-of-source builds
anyway...
2016-02-16 17:02:56 +01: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
Philipp Möller
c3fba6c5ab
Remove unnecessary variable
...
Correct name would be CMAKE_COLOR_MAKEFILE and default is ON anyway.
2016-02-11 15:58:14 +01:00
Philipp Möller
3b63763f5d
Introduce CGAL_DOC_VERSION
2016-02-11 15:37:20 +01:00
Laurent Rineau
aea00e0519
./doc/ is not shipped in public tarballs
2016-02-10 18:54:59 +01:00
Laurent Rineau
bbc11f1657
More polish
...
- Renamed "Reconstruction Simplification 2" to its real name
- move "Surface Mesh Parameterization"
2016-02-10 16:18:42 +01:00
Laurent Rineau
7e977b810e
Polish the changes.html for CGAL-4.8
...
- Fix the imprecision in the text about `thread_local` and `std::mutex`.
- I have added `<code>`/`</code>` where needed.
- Remove the comments (because html2text does not process comments
correctly).
- Add CSS rules for `<code>` (adapted from Github CSS sheet)
- Rewrap most paragraphs (they were too wide)
- Add the release dat
2016-02-10 12:50:14 +01:00
Sébastien Loriot
2ed0fc0fdf
Merge pull request #151 from cjamin/gsoc2014-2d-reconstruction-ivovigan
...
2D Reconstruction Simplification, new package, GSoC 2014
2016-02-09 19:42:32 +01:00
Clement Jamin
57e1dc970f
Move package to 4.8
2016-02-08 17:12:52 +01:00
Philipp Möller
43b33a5ae8
Mention dual function in changes.html
2016-02-02 16:00:31 +01:00
Philipp Möller
2c81c92e54
update changes.html
2016-02-02 16:00:31 +01:00
Simon Giraudot
66967ea600
Update changes.html
2016-01-27 11:10:25 +01:00
Laurent Rineau
79f2a3d0cf
Fix a warning
2016-01-25 16:45:12 +01:00
Sebastien Loriot
6c88ccaeab
Merge pull request #663 from afabri/CGAL-rename_cfg-GF
...
Fix macro name
2016-01-25 08:45:38 +01:00
Sébastien Loriot
551b3fa24d
Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' into HEAD
2016-01-25 08:29:55 +01:00
Laurent Rineau
235b601b73
Fix a bug in Boost.Config<1.57 with gcc>=5.0
...
`BOOST_HAS_VARIADIC_TMPL` and `BOOST_NO_CXX11_VARIADIC_TEMPLATES` can be
wrong, with Boost-1.57 and gcc>=5.0.
Fixes the following warnings with gcc>=5.0 in C++98 mode:
> CGAL-4.8-Ic-106/include/CGAL/array.h:78:31: warning: variadic templates only available with -std=c++11 or -std=gnu++11
> template< typename T, typename... Args >
> ^
> CGAL-4.8-Ic-106/include/CGAL/array.h:80:28: warning: variadic templates only available with -std=c++11 or -std=gnu++11
> cpp11::array< T, 1 + sizeof...(Args) >
> ^
> CGAL-4.8-Ic-106/include/CGAL/array.h:81:42: warning: variadic templates only available with -std=c++11 or -std=gnu++11
> make_array(const T & t, const Args & ... args)
> ^
2016-01-25 08:28:06 +01:00
Sébastien Loriot
4c4b191209
Merge pull request #604 from bo0ts/BGL-add_clear-pmoeller
...
Add BGL helper CGAL::clear
2016-01-23 09:18:56 +01:00
Andreas Fabri
567f027484
Fix macro name
2016-01-21 11:32:48 +01:00
Sebastien Loriot
155dba5e96
Merge pull request #641 from lrineau/Installation-do_not_use_deprecated_macros_from_Boost_Config-lrineau
...
Boost.Config: check both deprecated name and new names (Boost>=1.50)
2016-01-21 09:25:57 +01:00
Sebastien Loriot
a5ab3281d5
Merge pull request #642 from lrineau/Install-add_CGAL_CAN_USE_CXX11_ATOMIC-lrineau
...
Add <CGAL/atomic.h> and CGAL_CAN_USE_CXX11_ATOMIC
2016-01-21 09:25:39 +01:00
Sébastien Loriot
cf08261299
Merge pull request #652 from sloriot/BGL-document_selection_functions
...
BGL: document selection functions
2016-01-20 17:13:21 +01:00
Sebastien Loriot
901a4c17e4
Merge pull request #650 from sloriot/BGL-document_split_in_polylines
...
BGL: document split in polylines
2016-01-20 16:50:36 +01:00
Simon Giraudot
84918ab3b0
Update changes.html
2016-01-19 17:03:14 +01:00
Sebastien Loriot
13943432b5
Merge pull request #580 from sgiraudot/Advancing_front-Generalize_filter-GF
...
Advancing front: generalize filter
2016-01-19 11:39:49 +01:00
Sébastien Loriot
c1459d3f20
rename dilate/erode function after review
2016-01-19 11:32:49 +01:00
Sébastien Loriot
fe9c3f7729
update changes
2016-01-19 11:32:23 +01:00
Laurent Rineau
fa54f719e6
Oops! Fix the Boost atomic header
2016-01-19 10:34:55 +01:00
Sébastien Loriot
1792146afd
document split_graph_into_polylines
2016-01-19 09:30:00 +01:00
Laurent Rineau
98a4949e96
Better version of <CGAL/atomic.h>
...
The implementation is simplified.
If no implementation of `::atomic` is available, `CGAL_NO_ATOMIC` is
defined to an error message (replaced the `#error`).
2016-01-18 15:51:34 +01:00
Laurent Rineau
e1adbbfb7a
Add #error Boost.Atomic was introduced in Boost-1.53
2016-01-15 18:59:34 +01:00
Laurent Rineau
a32ba4b0af
Boost.Config>=1.56 defines BOOST_NO_CXX11_HDR_ATOMIC
2016-01-15 18:46:46 +01:00
Laurent Rineau
68c6941cbb
Add <CGAL/atomic.h> and CGAL_CAN_USE_CXX11_ATOMIC
...
- Change the way the macros `CGAL_CAN_USE_CXX11_THREAD_LOCAL` and
`CGAL_CAN_USE_CXX11_MUTEX` are defined, so that other compilers are
also supported.
- Add the macro `CGAL_CAN_USE_CXX11_ATOMIC` and the header
`<CGAL/atomic.h>`.
2016-01-15 18:26:44 +01:00
Laurent Rineau
65cad196df
Check both deprecated name and new names (Boost>=1.50)
...
The deprecated names may be removed from future versions of Boost, and
we do not want our C++11 support be dropped for users using newest
versions of Boost.
2016-01-15 17:47:45 +01:00
Sebastien Loriot
4e9448cb9e
Merge pull request #451 from GilesBathgate/throwing-destructors
...
Introduces a CGAL_destructor_assertion macro.
2016-01-14 14:08:10 +01:00
Andreas Fabri
1f0e8324a3
Fix the name of libraries, on Windows
...
If CGAL_FULL_VERSION is not set in the cache, in the sub-directory src/ its value is empty. That creates wrong library names, on Windows, such as:
libCGAL_ImageIO-vc120-mt-.lib
2016-01-12 12:15:52 +01:00
Giles Bathgate
f0ac236713
Introduces a GCAL_NO_ASSERTIONS_BOOL macro
...
This macro is always defined. Its value will be true when assertions are defined
and false when assertions are not defined. This macro can then be used in place
of a true false constant, such as is needed for CGAL_NOEXCEPT.
2016-01-08 20:31:59 +00:00
Philipp Möller
7ec3c25aa9
Update changes.html
2016-01-08 14:47:23 +01:00
Sébastien Loriot
e64ae35a6e
Merge pull request #542 from bo0ts/Documentation-release_build2-pmoeller
...
Allow to build the documentation in a release
2016-01-07 09:21:46 +01:00
Sébastien Loriot
dd8f33adc5
Merge pull request #559 from lrineau/Mesh_3-remove_estimated_bbox-lrineau
...
Add bbox() to MeshDomain_3
2016-01-06 14:35:01 +01:00
Sebastien Loriot
2b49997c7e
Merge pull request #493 from afabri/CGLAL-thread_local_storage-GF
...
Remove boost thread dependency
2016-01-04 16:49:26 +01:00
Sébastien Loriot
c981ef2303
add missing license headers
2016-01-04 16:48:26 +01:00
Simon Giraudot
bd361eaa40
Update changes.html
2016-01-04 12:07:24 +01:00
Sebastien Loriot
5e20b46f5b
Merge pull request #546 from bo0ts/Pmp_triangulate_face-pmoeller
...
Add triangulate_face and triangulate_faces range overload
2016-01-04 10:48:17 +01:00
Sébastien Loriot
dd955cef30
Merge pull-request #483 from 'janetournois/Mesh_3-gray_level_image_oracle-lrineau'
...
Mesh 3 : add gray level image oracle
2015-12-18 16:46:46 +01:00
Sebastien Loriot
c1c30a46e5
Merge pull request #509 from sloriot/Install-fix_nsi
...
Install fix nsi
2015-12-18 15:16:29 +01:00
Philipp Möller
5349ee4dfc
Move CGAL_FULL_VERSION to PARENT_SCOPE
...
This variable is more sensible to be used in documentation. The
corresponding set in non branch-build does not require a PARENT_SCOPE,
because it has no parent in the release layout.
2015-12-17 16:00:06 +01:00
Simon Giraudot
c2003e8a2a
Add test for c++1z and gnu++XX flags
2015-12-17 10:18:20 +01:00
Laurent Rineau
471c87e5ca
Amend the changes log
2015-12-16 12:33:17 +01:00
Simon Giraudot
084bd22780
Update changes.html
2015-12-14 09:09:56 +01:00
Philipp Möller
22920671ee
Update info in changes.html
2015-12-11 16:29:07 +01:00
Philipp Möller
a66b5d5a09
Use doc/CMakeLists in a release
2015-12-10 17:05:51 +01:00
Giles Bathgate
ab7b34846e
Use boost detection of CXX11 noexcept keyword.
...
BOOST_NO_NOEXCEPT and BOOST_NO_CXX11_NOEXCEPT provide a more
convenient way of determining whether the CXX11 noexcept keyword
is available.
See: http://www.boost.org/doc/libs/1_50_0/libs/config/doc/html/boost_config/boost_macro_reference.html
2015-12-10 10:54:36 +00:00
Simon Giraudot
6a545a2483
Update changes.html
2015-12-04 12:35:34 +01:00
Andreas Fabri
4fec754ef8
put static into the macro and rename it
2015-12-02 20:40:15 +01:00
Andreas Fabri
dd17f1ad5d
Set BOOST_PARAMETER_MAX_ARITY to the needed value in the concerned packages
2015-12-01 17:05:53 +01:00
Sebastien Loriot
b5546cb802
Merge pull request #486 from lrineau/Installation-visual_leak_detector-lrineau
...
Enable the use of Visual Leak Detector in CGAL
2015-11-26 14:30:14 +01:00
Sébastien Loriot
5de303c389
Merge pull request #501 from janetournois/PMP-add_utility_functions-GF
...
PMP : add utility functions
2015-11-26 14:22:05 +01:00
Clement Jamin
5eb2a28eea
Merge branch 'gsoc2014-2d-reconstruction-ivovigan-old' into gsoc2014-2d-reconstruction-ivovigan
2015-11-25 16:25:48 +01:00
Sébastien Loriot
e8e3efd617
fix url
2015-11-24 00:46:40 +01:00
Giles Bathgate
3a725499ad
Introduces CGAL_NOEXCEPT macro.
...
This macro is available for future compatibility with c++11, which
by default marks destructors noexcept(true). Some destructors
in CGAL do throw exceptions an so should be marked noexcept(false).
Since noexcept is not available in c++0x and below the macro is
disabled when CGAL_CXX11 is not defined since it is not required.
2015-11-23 16:47:59 +00:00
Jane Tournois
a61fefc839
Merge branch 'PMP-length_of_border-GF-old' into PMP-length_of_border-GF
2015-11-23 17:19:30 +01:00
Andreas Fabri
bb9dddf336
Add a chapter in the developer manual. Fix a bug in tss.h in case CGAL_HAS_THREADS is not defined
2015-11-23 16:50:09 +01:00
Sébastien Loriot
e997e68582
missing c++98
2015-11-23 10:23:57 +01:00
Sébastien Loriot
260a501941
support more g++ version and enhance doc
2015-11-23 10:21:21 +01:00
Sébastien Loriot
d1489cd7e0
fix and simplify when boost libs are needed
2015-11-20 14:30:34 +01:00
Sébastien Loriot
86a2225a0c
boost thread not needed if using gcc 4.8 or greater in c++1[1/4] mode
2015-11-19 18:55:42 +01:00
Jane Tournois
b1e00b1f4a
update changes.html
2015-11-17 17:30:23 +01:00
Sebastien Loriot
d605b6b95f
Merge pull request #457 from janetournois/Polygon_mesh_processing-local_remeshing-GF
...
Polygon mesh processing - add isotropic remeshing
2015-11-17 13:25:45 +01:00
Jane Tournois
3f308a48af
Merge branch 'Mesh_3-gray_level_image_oracle-lrineau-old' into Mesh_3-gray_level_image_oracle-lrineau
2015-11-17 11:16:53 +01:00
Andreas Fabri
2ce8b07ec0
Define BOOST_PARAMETER_MAX_ARITY in <CGAL/config.h>
...
This macro has to be larger than the default value
and it must be set before including <boost/parameter.hpp>
Instead of setting it to 12 in the packages that
need it, we do this in <CGAL/config.h> and produce
an error if a user has set it to a value < 12
2015-11-16 11:21:31 +01:00
Andreas Fabri
9c08d41a54
Change the macro CGAL_THREAD_LOCAL_VARIABLE(TYPE,VAR,VAL)
...
VAL is the parameter to the variable VAR
2015-11-11 11:16:16 +01:00
Jane Tournois
70550aac03
todo : more documentation
2015-11-10 16:54:50 +01:00
Andreas Fabri
6b2c4dd7c6
Merge branch 'CGLAL-thread_local_storage-GF-old' into CGLAL-thread_local_storage-GF
2015-11-09 14:26:42 +01:00
Jane Tournois
d6207f50ba
comment about new helper functions
...
also update PackageDescription.txt and fix it
2015-11-05 20:13:07 +01:00
Sébastien Loriot
0072b649e2
Merge branch 'old/Polygon_mesh_processing-local_remeshing-GF' into Polygon_mesh_processing-local_remeshing-GF
2015-11-05 20:11:10 +01:00
Jane Tournois
340a52ac44
update doc wrt to @sloriot review
2015-11-05 20:09:15 +01:00
Jane Tournois
990ace3c8a
update changes.html
2015-11-05 20:09:14 +01:00
Jane Tournois
f53bc373a0
update changes.html
2015-11-03 15:38:32 +01:00