Commit Graph

69437 Commits

Author SHA1 Message Date
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
Laurent Rineau 7d37635fb9 Next release will be CGAL-4.10 2016-09-19 17:18:42 +02:00
Laurent Rineau 51912a8913 Next release will be 4.9.1 2016-09-19 17:09:21 +02:00
Laurent Rineau 7ea7a32a9c If any, the next release will be 4.8.3. 2016-09-19 17:07:30 +02:00
Laurent Rineau 4e50c9c138 Announcement for CGAL-4.9 2016-09-19 14:35:42 +02:00
Laurent Rineau 8d268e1c95 Announcement for 4.8.2 2016-09-19 11:43:59 +02:00
Laurent Rineau 331eac693a Merge pull request #1467 from lrineau/STL_Extension-fix_CGAL_static_assertion-lrineau
Always include <boost/static_assert.hpp>
2016-09-16 15:52:34 +02:00
Laurent Rineau 6100f3feb2 Merge pull request #1465 from cjamin/Polyhedron-Fix_Q_FOREACH-cjamin
Use BOOST_FOREACH instead of Q_FOREACH when not a Qt container
2016-09-16 15:52:32 +02:00
Laurent Rineau 6fb1c1a55e Prepare CGAL-4.9 release candidates 2016-09-16 15:52:27 +02:00
Laurent Rineau 8fe3f26c6f Always include <boost/static_assert.hpp>
If C++11 `static_assert` cannot be used, `BOOST_STATIC_ASSERT` is used
instead *even with `CGAL_NO_ASSERTIONS`*.
2016-09-16 15:25:23 +02:00
Sébastien Loriot 25be975789 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch' 2016-09-16 13:42:24 +02:00
Laurent Rineau a19f1fb05f Merge pull request #1461 from sloriot/STL_Extension-In_place_list_hash_value_missing_const
Add missing const
2016-09-16 13:39:34 +02:00
Clement Jamin c94c517013 Use BOOST_FOREACH instead of Q_FOREACH when not a Qt container
Was not compiling with MSVC 2015 and Qt5
2016-09-16 11:31:01 +02:00
Laurent Rineau 654531617a Merge pull request #1464 from CGAL/NewKernel_d-detect_real_gcc-lrineau
Use Boost.Config to detect a real gcc<=4.4
2016-09-16 10:39:18 +02:00
Laurent Rineau e2d04e54e0 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
> 3176b37 Merge pull request #1452 from mglisse/Number_types-Eigen_Literal-glisse
> 1705702 Merge pull request #1417 from afabri/Polyline_simplification-Bugfix_choose_correct_Itag-GF
> 3bef239 Merge pull request #1462 from sloriot/PMP-add_missing_include
2016-09-15 17:25:20 +02:00
Laurent Rineau 3176b373ab Merge pull request #1452 from mglisse/Number_types-Eigen_Literal-glisse
Number_types Eigen::NumTraits::Literal
2016-09-15 17:21:29 +02:00
Laurent Rineau 57fed487c4 Merge pull request #1451 from sloriot/CGAL-fix_boost_lib_requirements
-ansi implies c++98 -> update script requirements of boost libraries
2016-09-15 17:21:10 +02:00
Laurent Rineau 17057027bc Merge pull request #1417 from afabri/Polyline_simplification-Bugfix_choose_correct_Itag-GF
Fix bug in polyline simplification
2016-09-15 17:20:15 +02:00
Laurent Rineau c130d2b2f2 Merge pull request #1373 from janetournois/PMP-fix_test_epec-GF
PMP isotropic remeshing does not support exact constructions
2016-09-15 17:19:56 +02:00
Laurent Rineau 96424d82dd Merge pull request #1460 from janetournois/PMP-dont_test_undocumented_fct-jtournois
PMP : do not test `remove_degenerate_faces` (2/2)
2016-09-15 16:10:19 +02:00
Laurent Rineau ca7f9213dd Merge pull request #1463 from afabri/patch-2
Functions in the manual must be written with ()
2016-09-15 16:09:09 +02:00
Laurent Rineau 3bef239e82 Merge pull request #1462 from sloriot/PMP-add_missing_include
Add missing include directive
2016-09-15 16:08:06 +02:00
Laurent Rineau 7d85453f4d Use Boost.Config to detect a real gcc<=4.4
... Avoids that Intel Compiler or Clang are detected as well.
2016-09-15 16:03:33 +02:00
Andreas Fabri 9ca7833d2d Functions in the manual must be written with () 2016-09-15 15:59:47 +02:00
Sebastien Loriot 343fb726fa Add missing include directive 2016-09-15 15:52:47 +02:00
Sebastien Loriot efd30df215 add missing const 2016-09-15 15:49:02 +02:00
Jane Tournois 785f51a961 add note on how to reproduce the bug
to be used when `remove_degenerate_faces` will be fixed
2016-09-15 14:51:45 +02:00
Laurent Rineau aa34ab5254 Merge pull request #1459 from janetournois/PMP-dont_test_undocumented_fct-jtournois
PMP : do not test `remove_degenerate_faces`
2016-09-15 14:49:12 +02:00
Jane Tournois 361b81e845 remove_degenerate_faces is not documented, we should not test it 2016-09-15 14:43:31 +02:00
Laurent Rineau 3a718894a6 updated crontab (automated commit) 2016-09-15 11:18:07 +02:00
Sebastien Loriot 3bc2b77059 Merge pull request #1457 from afabri/patch-2
Update Spatial_lock_grid_3.h
2016-09-15 08:59:46 +02:00
Andreas Fabri b44ff725ca Update Spatial_lock_grid_3.h
typos
2016-09-15 08:51:58 +02:00
Sebastien Loriot 78afe18059 Merge pull request #1455 from sgiraudot/Point_set_processing_3-Fix_mistake_in_ply_ref_man-GF
Ply interpreter: remove lines about tparam that can be omitted
2016-09-14 16:41:00 +02:00
Simon Giraudot 7034fe00a9 Remove lines about tparam that can be omitted (this was wrong) 2016-09-14 16:36:26 +02:00
Andreas Fabri 147ebae4d6 Fix bug in polyline simplification:
We had hardwired that we use Exact_predicates_tag which is slow for EPEC
in particular with Quotient<MP_float> or leda::real

We determine the appropriate tag using Algebraic_structure_traits<FT>::Is_exact
2016-09-14 16:16:28 +02:00
Laurent Rineau e715dcaaa3 trivial typo 2016-09-14 16:02:13 +02:00
Marc Glisse b7b492d9c8 Manually define Eigen::NumTraits<NT>::Literal for each specialization.
Defined to NT, no try is made to optimize for now.
2016-09-14 13:12:35 +02:00
Marc Glisse c86749ba01 Revert "Derive all NumTraits specializations from GenericNumTraits."
This reverts commit c56c5b0241.
2016-09-14 13:04:05 +02:00
Laurent Rineau ae3285de1b Merge fixes from 'cgal/releases/CGAL-4.8-branch'
> 3466dee Merge pull request #1378 from sloriot/Polyline_simplification_2-handle_undefined_cost
> 7dd7f12 Merge pull request #1448 from afabri/BGL_graph_traits_OpenMesh-GF
2016-09-13 18:29:33 +02:00
Laurent Rineau 6cd665529f Merge pull request #1434 from sgiraudot/Point_set_shape_detection-Improve_example-GF
Point set shape detection: improve example
2016-09-13 18:19:40 +02:00
Laurent Rineau c4ca7800d2 Merge pull request #1441 from maxGimeno/Polyhedron_demo-Fix_menus_with_unity-GF
Polyhedron_demo : Fix the menu bug with Unity
2016-09-13 18:18:30 +02:00
Laurent Rineau dec0b451d6 Merge pull request #1430 from lrineau/Mesh_3-fix_two_bugs-GF
Mesh_3: fix two bugs
2016-09-13 18:14:49 +02:00
Laurent Rineau 3466dee055 Merge pull request #1378 from sloriot/Polyline_simplification_2-handle_undefined_cost
Handle edges with undefined cost
2016-09-13 18:11:52 +02:00
Laurent Rineau b97b709a8d Merge pull request #1377 from afabri/BGL-OM_HAS_HASH-GF
hash_value is not defined inside an #ifdef OM_HAS_HASH
2016-09-13 18:11:17 +02:00