Commit Graph

77701 Commits

Author SHA1 Message Date
Laurent Rineau 8c44bceedd Fix a typo 2017-11-13 13:51:23 +01:00
Laurent Rineau 9b72ed0b47 Fix a warning 2017-11-13 12:04:10 +01:00
Laurent Rineau 86fb40832a Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-13 12:01:39 +01:00
Laurent Rineau 099b3685f6 Fix: the target was defined twice 2017-11-13 11:52:51 +01:00
Laurent Rineau 838217a153 CGAL_CURRENT_SOURCE_DIR is no longer used/filled 2017-11-13 11:49:07 +01:00
Laurent Rineau c6068691fa Merge pull request #2547 from lrineau/CMake-parse_CTest_XML_output-lrineau
CGAL testsuite implemented with CTest plus Python (part.1)
2017-11-13 11:13:54 +01:00
Clement Jamin 75187a99e0 Update Installation Manual with the new way to activate the header-only mode 2017-11-13 10:09:22 +01:00
Clement Jamin abd9616231 Hide the CMake option we added for "step 1" 2017-11-13 10:09:22 +01:00
Laurent Rineau 9603cc5399 Fix when CGAL_Core is not compiled 2017-11-07 18:43:19 +01:00
Laurent Rineau 62c70d41ca Renew the handle of policies, for CMake-3.10
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.

`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Laurent Rineau 260c4dac61 Fix the API of cgal_add_test 2017-11-03 15:05:35 +01:00
Laurent Rineau ad1a51791a Support test/Snap_rounding_2/ 2017-11-03 11:14:17 +01:00
Laurent Rineau 252eb66dc2 Split cgal_add_test further, with the new cgal_setup_test_properties 2017-11-03 11:13:49 +01:00
Laurent Rineau 5e61c53007 Remove debug messages 2017-11-03 10:03:14 +01:00
Laurent Rineau 855d995e1e Improvements
- split `cgal_add_test()` into `cgal_add_test()` and
  `cgal_add_compilation_test()`

- `cgal_add_test()` have more parameters:
  - an optional custom `TEST_NAME`,
  - extra arguments to use for the test.

- Add CTest support for `test/Sweep_line_2/`
2017-11-03 09:34:55 +01:00
Laurent Rineau 39cb35b134 Avoid CMake errors with CMake<=3.4 2017-10-31 13:37:43 +01:00
Laurent Rineau 42052eea86 Run Nef_3 tests sequentially, because they share filenames for I/O 2017-10-30 17:24:13 +01:00
Laurent Rineau 2df374c2c3 Remove debug line 2017-10-27 09:22:49 +02:00
Laurent Rineau 9515e1261e Push my work in progress 2017-10-26 19:50:41 +02:00
Laurent Rineau 633374027b Do not run a test if the compilation failed
The test binary may have been compiled in a previous compilation.
But if the current compilation failed, do not run the test.
2017-10-26 19:50:40 +02:00
Laurent Rineau 1c4667b7ff Avoid all T_3 test run at the same time
... because they all save/load from the same file names.
2017-10-24 11:46:59 +02:00
Laurent Rineau 6c24ed92e5 Deal with comments (`#`) in test/Set_movable_separability_2/*.cmd 2017-10-24 11:46:40 +02:00
Laurent Rineau 030c7c2291 Fix test/CGAL_ImageIO/test_trilinear_interpolation.cpp with CTest 2017-10-24 11:46:03 +02:00
Laurent Rineau aae3ce779c Merge pull request #2540 from maxGimeno/Fix_redraw-GF
Polyhedron demo: Fix some missing redraw
2017-10-23 18:10:13 +02:00
Laurent Rineau ce6e3a121f Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch 2017-10-23 16:55:54 +02:00
Laurent Rineau 7caa6ea021 Merge pull request #2514 from janetournois/Polyhedron_demo-fix_isotropic_remeshing_plugin-jtournois
Polyhedron demo - fix isotropic remeshing plugin
2017-10-23 16:53:18 +02:00
Laurent Rineau 605beb33ef Merge pull request #2541 from lrineau/Mesh_3-fix_NaN-lrineau
Fix a perturber bug
2017-10-23 16:50:45 +02:00
Laurent Rineau 38b6165951 Merge pull request #2519 from janetournois/PMP-fix_isotropic_remeshing_next_to_corners-jtournois
PMP - fix isotropic_remeshing() collapsibility checks
2017-10-23 16:49:10 +02:00
Laurent Rineau 08af446665 upgrade test/Arrangement_on_surface_2/cgal_test.cmake 2017-10-23 16:10:37 +02:00
Laurent Rineau 1fbdd79363 Avoid adding the same test twice 2017-10-23 16:10:06 +02:00
Laurent Rineau 23da9c6a10 Fix warnings about policy CMP0011 2017-10-23 15:29:27 +02:00
Laurent Rineau 5d6264fdbb Handle strange cases with no labels 2017-10-20 17:04:45 +02:00
Laurent Rineau 45d60917e4 Use CMake 3.7 fixtures, to execute in a dedicated directory 2017-10-20 17:02:32 +02:00
Laurent Rineau a335b979f2 Include the file only once, in a all-CGAL build 2017-10-20 17:02:15 +02:00
Laurent Rineau e73c95d4cd Do not test demos 2017-10-20 17:01:43 +02:00
Laurent Rineau 9a6d8c6adb Replace that hacky CMakeLists by a standard one 2017-10-20 17:01:04 +02:00
Laurent Rineau bf8c3701b3 Be careful with parallel test that reuse same files 2017-10-20 11:47:41 +02:00
Laurent Rineau 9a127c6f5d Add CMake option CGAL_CTEST_DISPLAY_MEM_AND_TIME
"Display memory and real time usage at end of CTest test outputs"
2017-10-20 10:26:11 +02:00
Laurent Rineau a63cfa9612 Parse the XML file Test.xml from `ctest -D`
... eventually, that will help move from our testsuite scripts to
CTest testsuite, plus CDash.
2017-10-20 00:15:04 +02:00
Laurent Rineau 6be9fcab9d Forbid the use of CGAL_MESH_3_USE_RELAXED_HEAP
That code using a Boost relaxed heap is buggy. Let's warn the developer
that he/she must not use it.
2017-10-19 15:14:01 +02:00
Laurent Rineau 6178c04cf1 Fix also restore_infinite_cell
Thanks @MaelRL for the suggestion.

https://github.com/CGAL/cgal/pull/2541#issuecomment-337278638
2017-10-18 17:00:25 +02:00
Jane Tournois 96857e44ed fix multicolor Surface_mesh 2017-10-17 16:01:23 +02:00
Jane Tournois 47283bc7cb pmesh cannot be const when a property map is added by get()
and add missing includes

# Conflicts:
#	Polyhedron/demo/Polyhedron/Plugins/PMP/Isotropic_remeshing_plugin.cpp
2017-10-17 15:59:50 +02:00
Jane Tournois 5a45fdf99d Merge branch 'PMP-fix_isotropic_remeshing_next_to_corners-jtournois' into Polyhedron_demo-fix_isotropic_remeshing_plugin-jtournois 2017-10-17 15:45:30 +02:00
Jane Tournois fb0d7840d5 remove useless check for reverse version 2017-10-17 15:30:37 +02:00
Laurent Rineau a4c29ed9aa Merge pull request #2343 from jasjuang/master
support sudo make uninstall for cmake
2017-10-17 15:20:40 +02:00
Laurent Rineau 144101d3b5 Merge pull request #2522 from maxGimeno/Surface_mesh_item_fix_feature_edges-GF
Polyhedron demo: Fix for detect_sharp_edges_sm_plugin
2017-10-17 15:20:39 +02:00
Laurent Rineau 1762bc31b4 Merge pull request #2505 from sgiraudot/Classification-Fixes_and_improved_plugin-GF
Classification: fixes and improved plugin
2017-10-17 15:20:37 +02:00
Laurent Rineau 2510dc44d5 Merge pull request #2538 from sgiraudot/Polyhedron_demo-Improve_point_set_selection_widget-GF
Polyhedron demo: improve point set selection widget
2017-10-17 15:20:36 +02:00
Laurent Rineau 9f40374700 Merge pull request #2537 from maxGimeno/Basic_generator_fix-GF
Polyhedron demo: Fix for Basic_generator _plugin
2017-10-17 15:20:35 +02:00