Commit Graph

758 Commits

Author SHA1 Message Date
Sébastien Loriot ff1b240a37 replace assert by CGAL_assertion in CGAL code 2016-08-25 11:12:17 +02:00
Laurent Rineau 4c97ab6c96 Minor fixes for -Wconversion warnings in a few packages 2016-04-22 12:36:26 +02:00
Laurent Rineau 50b55bd27c Merge pull request #890 from sloriot/CGAL-generate_CMakeLists-sloriot
Generate CMakelists
2016-03-29 11:02:17 +02:00
Sébastien Loriot c869ee6855 update cmake scripts with at least one example requiring Core 2016-03-24 16:40:57 +01:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Andreas Fabri 06f5dcfb41 I had removed one #endif too much 2016-03-22 19:11:02 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Philipp Möller 0a04a3a48f Use CGAL_DOC_VERSION 2016-02-11 15:37:54 +01:00
Sébastien Loriot 72863bfe44 fix doxygen warnings 2016-02-04 21:19:36 +01:00
Sebastien Loriot 313cd7cf6c Merge pull request #657 from afabri/Kernel_fix-warnings-GF
Use CGAL_USE to avoid g++6.0 warning
2016-01-25 08:57:24 +01:00
Laurent Rineau 86a07d234f Fix warnings
> In file included from /home/cgal_tester/build/src/cmake/platforms/CentOS5/src/CGAL/all_files.cpp:4:
> /mnt/testsuite/src/CGAL/Turkowski_numeric_solver.cpp:26:7: warning: no newline at end of file
> In file included from /home/cgal_tester/build/src/cmake/platforms/CentOS5/src/CGAL/all_files.cpp:21:
> /mnt/testsuite/src/CGAL/numeric_solvers_support.cpp:27:7: warning: no newline at end of file
> In file included from /home/cgal_tester/build/src/cmake/platforms/CentOS5/src/CGAL/all_files.cpp:25:
> /mnt/testsuite/src/CGAL/JAMA_numeric_solver.cpp:26:7: warning: no newline at end of file
2016-01-21 12:17:48 +01:00
Andreas Fabri c8d66590fc more CGAL_USE 2016-01-21 11:07:42 +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
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
Sebastien Loriot 32a3972c33 Merge pull request #592 from afabri/CGAL-dont_submit_cleanup-GF
Towards getting rid of dont_submit files
2016-01-08 14:14:08 +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
Andreas Fabri 8df7cf2758 various 2016-01-05 18:23:35 +01:00
Andreas Fabri a41165b6eb various 2016-01-05 18:04:14 +01:00
Giles Bathgate f6dfeba815 Use CGAL_NO_ASSERTIONS with the CGAL_NOEXCEPT macro.
This avoids penalizing release builds in which assertions are not
made within the destructors, and so no exception can be thrown.
2015-12-19 15:47:16 +00:00
Philipp Möller 71b4e9c515 Use CGAL_FULL_VERSION in all Doxyfile.in 2015-12-17 16:33:28 +01:00
Simon Giraudot f21cb46900 Remove deprecated "register" keyword 2015-12-17 08:20:56 +01:00
Philipp Möller c5d3cdb20e Remove unnecessary Doxyfile.in statements
It is not necessary to specify the IMAGE_PATH or EXAMPLE_PATH here. Add
the images, if necessary.
2015-12-10 17:04:51 +01:00
Philipp Möller 81a8f982dc Handle the easy INPUT cases
If INPUT is just PKG/doc/PKG, handle it automatically.
2015-12-10 17:00:26 +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
Giles Bathgate 9645135ff5 Introduces a CGAL_destructor_assertion macro.
This macro can safely be called from a destructor, even when
the stack is currently unwinding, and thus prevents uncatchable
exceptions.
2015-11-23 16:47:59 +00:00
Laurent Rineau 7612345f2f Trivial fix: add newline at EOF
There was a warning with gcc 4.1.2, on CentOS 5:
```
In file included from /mnt/testsuite/include/CGAL/Kinetic/Active_objects_vector.h:27,
                 from /mnt/testsuite/include/CGAL/Kinetic/Exact_simulation_traits.h:27,
                 from /home/cgal_tester/build/src/cmake/platforms/CentOS5/test/Kinetic_data_structures/Delaunay_triangulation_3.cpp:7:
/mnt/testsuite/include/CGAL/Kinetic/internal/debug_counters.h:79:33: warning: no newline at end of file
```
2015-11-05 11:12:57 +01:00
Sebastien Loriot 2e493f297b Merge pull request #389 from afabri/CGAL-Qt3-GF
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Andreas Fabri 6056c6b55f Do not mention Qt3 based demos in the User Manual 2015-10-19 15:35:57 +02:00
Laurent Rineau 330a0e75a2 Merge pull request #385 from cjamin/CGAL_headers_only-gdamiand_cjamin
CGAL headers only, step 0
2015-10-13 16:37:38 +02:00
Andreas Fabri 5306f7b7f2 Use CGAL_assertion_code() to avoid warnings 2015-10-08 09:28:35 +02:00
Sébastien Loriot 4787bda61f remove documented widget based on Qt3 2015-10-05 15:20:06 +02:00
Sébastien Loriot 8e62e05519 remove remaining Qt3 demos 2015-10-05 14:29:50 +02:00
Andreas Fabri 38d063539a cleanup 2015-10-02 08:17:19 +02:00
Guillaume Damiand e4342d50d2 Merge remote-tracking branch 'cgal-dev/CGAL_headers_only-gdamiand_cjamin' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:48:54 +02:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Sébastien Loriot cdfc7f1c31 Merge branch 'old/CGAL-split_packages-GF' into CGAL-split_packages-GF 2015-09-23 10:08:41 +02:00
Sébastien Loriot 970105e31c fix qt dependency text 2015-09-10 15:04:12 +02:00
Sébastien Loriot 8601e5ef0f move Kinetic examples 2015-08-26 17:27:09 +02:00
Andreas Fabri 67d72675fe split packages 2015-08-17 23:46:59 +02:00
Sébastien Loriot 894ee557a6 Merge branch 'local/Fix_warnings'
fix various warnings

Tested in CGAL-4.7-Ic-94
2015-07-23 14:45:05 +02:00
Sébastien Loriot 6dc5695989 remove unused variable warning 2015-07-22 15:47:23 +02:00
Sebastien Loriot 2cea994f0d Merge pull request #187 from weaselp/CORE-poly-operators-linking
Fix linking issue caused by violation of the one definition rule.
2015-07-21 12:24:52 +02:00
Peter Palfrader 166412c56a Fix linking issue caused by violation of the one definition rule.
When including CGAL/Polynomial/CORE_Expr_root_stack.h in a header file
that in turn gets included in multiple .cpp files, code from
CORE_Expr_root_stack.h ends up in multiple object files and causes
linking problems:
  multiple definition of `CGAL::POLYNOMIAL::operator<<(std::ostream&, CGAL::POLYNOMIAL::CORE_Expr_root_stack const&)'
  multiple definition of `CGAL::POLYNOMIAL::internal::operator*(CORE::BigRat const&, CGAL::POLYNOMIAL::internal::CORE_polynomial const&)'

Work around this issue by declaring both operators inline.
2015-07-21 10:00:13 +02:00
Laurent Rineau 15c1469a54 CGAL requires CMake>=2.8.11. 2015-07-10 17:01:42 +02:00
Laurent Rineau 3ec0c69f8f We want 2.8.10 for all demos
Previous versions are not tested by the CGAL daily test suite.
2015-07-09 17:50:22 +02:00
Sébastien Loriot 722abba27b cosmetic changes to remove mentions of QT4 2015-07-07 18:00:43 +02:00
Laurent Rineau e5bcdc5f3e Update all CMakeLists.txt
- CMake 2.8.11 or later is now required
- GLEW is no longer used by demo/Polyhedron/
2015-07-06 18:14:34 +02:00
Guillaume Damiand 4bbe2a82e9 Add missing #include; add some case IO::PRETTY to avoid some warning. 2015-06-12 14:08:29 +02:00