Commit Graph

1718 Commits

Author SHA1 Message Date
Laurent Rineau 1da90b4b8c Do not use __builtin_unreachable in strict-ansi mode 2013-03-19 17:18:12 +01:00
Laurent Rineau c6c0a606ce Remove the variable Boost_DIR from the CMake cache
The CMake module FindBoost.cmake searchs for Boost first in the "Config
mode" of 'find_package'. That allows to find installation of boost-cmake
(that is Boost configured using CMake). That configuration of Boost is
rather rare. But the search for it leaves a variable Boost_DIR=NOTFOUND in
the cache, even if Boost libraries are found using the regular way.

That patch removes from the cache the variable Boost_DIR, when Boost is
already found, to avoid more confusion for users.
2013-03-18 16:17:04 +01:00
Sébastien Loriot 6d1ae7e0ac trivial bugfix: intersecting two identical circles put a circle into the object 2013-03-18 08:14:14 +01:00
Sébastien Loriot 3f10b51ea6 sort lexicographically packages in changes after Installation) 2013-03-18 08:07:07 +01:00
Sébastien Loriot f9cf110cce factorize 2D triangulations changes 2013-03-18 08:04:01 +01:00
Laurent Rineau d1516b3e1d Update CHANGES after modifications to changes.html 2013-03-08 13:48:08 +01:00
Sébastien Loriot 4322fcb6d9 improve comments 2013-03-07 13:20:56 +01:00
Laurent Rineau 9f5458f288 Merge branch 'CGAL-fix_warnings-GF' 2013-03-07 12:58:19 +01:00
Sébastien Loriot a9a49ffabd add an option to switch the two-pass on 2013-03-06 18:41:01 +01:00
Laurent Rineau 3a93ad43f8 Add the entry to 4.2 2013-03-06 11:57:12 +01:00
Laurent Rineau 74c9aaceb6 Add a debugging tool to display versiondll metadata of DLLs 2013-03-05 18:02:28 +01:00
Laurent Rineau c0039287df Fix the detection of BLAS/LAPACK/TAUCS with MSVC
The CMake script was only testing if the sub-directory auxiliary/taucs/
existed. That directory exists in Git for a while, because we ship a README
file in it. Now the CMake script checks for auxiliary/taucs/include/. That
is as naive as before but at least it will work.
2013-03-05 13:54:51 +01:00
Laurent Rineau 3880aa43d8 Add changes 2013-03-01 18:33:09 +01:00
Laurent Rineau 23ee26c658 With MSVC, add flags /wd4503 and /bigobj by default
/wd4503 disables the warning C4503 "decorated name length exceeded"

/bigobj is sometimes required, and the only flaw is the incompatibility
with MSVS before MSVS 2005.
2013-03-01 18:33:09 +01:00
Laurent Rineau d5a9fe01b4 Reformat the changelog of CGAL-4.2
+ Add releases dates for 4.1 and 4.2
2013-03-01 18:33:09 +01:00
Laurent Rineau a2c9ee5c43 Enhance FindEigen3
1/ Check the version using 'find_package_handle_standard_args' internal
checking of version, instead of a home-made check.

2/ No need to add EIGEN3_INCLUDE_DIR in the cache, as find_path does it.

3/ Call 'find_package_handle_standard_args' even if EIGEN3_INCLUDE_DIR is
already and valid in the cache.
2013-02-28 12:44:30 +01:00
Laurent Rineau 061c4523a3 Merge branch 'Installation-better_test_gmp_mpfr_dll-lrineau' 2013-02-28 10:45:28 +01:00
Laurent Rineau 220ddbf6b2 New macro CGAL_GCC_VERSION to help preprocessor conditionals on gcc version
And use it in <CGAL/refine_mesh_3.h>
2013-02-27 19:58:02 +01:00
Laurent Rineau 316b09222e Keep the SONAME for CGAL-4.2, and bump the build number of SOVERSION. 2013-02-26 17:08:08 +01:00
Laurent Rineau 63212a0841 Revert "Bump CGAL SOVERSION to 11.0.0"
This reverts the following commit:
  | commit a6b340ccf7
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Mon Feb 25 18:38:33 2013 +0100
  |
  |     Bump CGAL SOVERSION to 11.0.0
  |
2013-02-26 17:05:34 +01:00
Laurent Rineau 2afae4e1ee Improve the diagnostics in test/Installation/test_gmp_mpfr_dll.cpp 2013-02-26 12:33:14 +01:00
Laurent Rineau a6b340ccf7 Bump CGAL SOVERSION to 11.0.0 2013-02-25 18:38:33 +01:00
Laurent Rineau c7179b2c6c Hide the CMake variable "WITH_tests" from the public releases
Trivial bug fix, that I have tested in both a public release and in a
branch build.
2013-02-22 13:20:25 +01:00
Laurent Rineau e84176bed7 Update CHANGES from changes.html 2013-02-22 13:07:43 +01:00
Laurent Rineau 2d8da664a3 Merge branch 'CGAL-fix_warnings-gdamiand'
Conflicts:
	.gitignore
	Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt
2013-02-22 13:02:37 +01:00
Efi Fogel facc1d0cf5 Added changes for 2D-Arrangements for 4.2 2013-02-21 21:01:01 +02:00
Laurent Rineau e4377bf9bd Fix a typo in the message of an assertion 2013-02-21 11:07:08 +01:00
Laurent Rineau 3f894697bc New macros CGAL_assume(EX) and CGAL_assume_code(CODE)
CGAL_assume(EX) is like CGAL_assertion, but is not disabled in release
mode. In debug mode, it is similar to CGAL_assertion(). In release mode, it
uses builtins of the compilateur, like the MSVC __assume or the g++/clang
__builtin_unreachable to give an hint to the compiler that some situation
in the code cannot happen.
2013-02-20 18:34:15 +01:00
Laurent Rineau 26a7e70785 New license.txt files (eol changes)
The new version 2.13.0 of licensecheck has changed the spaces at eol.
2013-02-19 16:46:39 +01:00
Philipp Möller 4632288a1f Add the memory leak fix to changes.html 2013-02-15 18:50:42 +01:00
Philipp Möller 1720fd845c No isfinite on MSVC
The advertisement is lying about what is implemented in cmath.
2013-02-15 10:48:23 +01:00
Laurent Rineau 29c05b900b Mark BOOST_STATIC_ASSERT with 'CGAL_UNUSED'
In order to fix such a warning from g++-4.8:
  warning: typedef ‘boost_static_assert_typedef_241’ locally defined but
  not used [-Wunused-local-typedefs]
then:
  - create one macro CGAL_UNUSED that is "__attribute__ ((__unused__))"
    with g++ or empty otherwise,
  - use it after BOOST_STATIC_ASSERT in the definition of
    CGAL_static_assertion.
2013-02-07 18:15:23 +01:00
Sébastien Loriot f0f34d45fa workaround to force the usage of the tr1 implementation of result_of from boost
see http://www.boost.org/doc/libs/1_52_0/libs/utility/utility.htm#result_of
2013-02-04 11:30:28 +01:00
Laurent Rineau 5ddbb68176 Add the macro CGAL_USE_TYPE(), and a test for <CGAL/use.h> 2013-01-31 14:08:36 +01:00
Clement Jamin d1f65375c0 Removed TBB_configuration
We will rely on tbb::task_scheduler_init itself for now
2013-01-29 14:11:22 +01:00
Laurent Rineau 324c7a477a Update CHANGES for CGAL 4.2 2013-01-29 12:25:15 +01:00
Laurent Rineau 07d73eaa92 Typographic changes to "changes.html", for 4.2. 2013-01-29 12:16:35 +01:00
Philipp Möller beed9c5acc No isfinite on MSVC
The advertisement is lying about what is implemented in cmath.
2013-01-29 10:54:18 +01:00
Clement Jamin 0a89951884 Updated FindTBB.cmake so that it uses the "optimized"/"debug" cmake keywords 2013-01-23 15:14:08 +01:00
Clement Jamin fc26d6effc Renamed header to be compliant with CGAL naming policy 2013-01-23 11:03:35 +01:00
Clement Jamin b4fae54565 New class for TBB configuration (num threads...) 2013-01-22 15:44:34 +01:00
Clement Jamin 0fcd19db7a Updated FindTBB so that it looks for the malloc proxy + better error messages 2013-01-22 14:50:01 +01:00
Clement Jamin 5f7d4bd88d Original FindTBB.cmake file 2013-01-22 14:42:13 +01:00
Laurent Rineau 291b3029bb Fix a bug in CGAL_SCM.cmake when the HEAD is not a branch
If the current working directory is a checkout of a commit that is not a
branch, for example, a commit in the ancestors of a branch, then CGAL CMake
scripts gave that CMake error:

  == CMake setup ==
  fatal: ref HEAD is not a symbolic ref
  CMake Error at Installation/cmake/modules/CGAL_SCM.cmake:36 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
  Call Stack (most recent call first):
    CMakeLists.txt:17 (include)

  == CMake setup (DONE) ==

This patch fixes the error. If HEAD is not a branch, then CGAL_GIT_BRANCH
is equal to "HEAD".
2013-01-21 17:23:36 +01:00
Laurent Rineau 3b1ba8ba70 Merge remote-tracking branch 'origin/Installation-link_libraries_deprecated-eric' 2013-01-14 14:50:59 +01:00
Laurent Rineau 4b38c0b73e The Intel Compiler has the "bug" CGAL_CFG_NO_STATEMENT_EXPRESSIONS.
The Intel Compiler, even when it tries to emulate the GNU/C++ compiler,
does not implement the GNU extension "statement expressions". The macro
CGAL_CFG_NO_STATEMENT_EXPRESSIONS must be defined with __INTEL_COMPILER is
defined.
2013-01-07 13:01:21 +01:00
Sébastien Loriot d0497c6008 missing div end 2013-01-04 15:37:16 +01:00
Eric Berberich d0fa4c89c6 document validates now, also using <pre>, and added 3rd party libs 2013-01-04 13:17:34 +01:00
Eric Berberich 03c6c56549 not necessarily a CGAL_-UseFile 2012-12-28 18:55:50 +01:00
Eric Berberich 6eafd776c7 readded link_libraries 2012-12-27 20:01:56 +01:00
Sébastien Loriot 7995ff270e update changes 2012-12-21 09:43:16 +01:00
Eric Berberich eb11ded35e packages for which I do maintenance stuff 2012-12-20 10:56:08 +01:00
Philipp Möller f16a152aec Make the feature checks more resilient to old Boost.Versions 2012-12-19 16:24:14 +01:00
Philipp Möller f4ce204d31 Merge branch 'Installation-add_UNIFIED_INITIALIZATION_macro-pmoeller' 2012-12-13 11:51:21 +01:00
Sébastien Loriot 0b23f9047e polish description 2012-12-12 14:39:51 +01:00
Andreas Fabri 8193b4e2ee Document changes in Poisson Surface Reconstruction 2012-12-12 14:37:59 +01:00
Philipp Möller cd7c3e3592 Use the right BOOST_VERSION
When one is using the non-deprecated form of the macro, the version of
the deprecation has to be used - not the version where the original
macro appeared first.
2012-12-12 11:24:07 +01:00
Philipp Möller aeeca8ea51 Remove the testfile CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG 2012-12-11 17:47:21 +01:00
Philipp Möller feceb5a028 Add the macro CGAL_CFG_NO_CPP0X_UNIFIED_INITIALIZATION_SYNTAX 2012-12-11 17:41:54 +01:00
Laurent Rineau aa3d26e96c Merge branch 'Installation-CreateSingleSourceCGALProgram_warning-lrineau' 2012-12-05 11:42:09 +01:00
Philipp Möller 1adf441b18 Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
Laurent Rineau e33d05f919 Add a AUTHOR_WARNING if the source file does not exist. 2012-11-30 10:34:29 +01:00
Sébastien Loriot 4ec9529581 Merge branch 'doxy-port-pmoeller'
Conflicts:
	.gitattributes
	Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h
	Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h
	Surface_reconstruction_points_3/include/CGAL/k_nearest_neighbor.h
2012-11-27 10:05:41 +01:00
Luis Peñaranda f1b0161b9d details on doc of RS, RS3, MPFI 2012-11-26 15:14:30 -02:00
Sébastien Loriot 920eb63882 backporting documentation changes of master@9fcc5b57 into doxy-port-pmoeller
Conflicts:
	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/CGAL/Arr_linear_traits_2.h
	Installation/doc_tex/Installation/usage.tex
	Kernel_23/doc/Kernel_23/CGAL/Projection_traits_xy_3.h
	Mesh_2/doc/Mesh_2/Concepts/ConformingDelaunayTriangulationTraits_2.h
	Spatial_searching/doc/Spatial_searching/CGAL/Incremental_neighbor_search.h
	Spatial_searching/doc/Spatial_searching/CGAL/K_neighbor_search.h
	Spatial_searching/doc/Spatial_searching/CGAL/Orthogonal_incremental_neighbor_search.h
2012-11-23 22:54:31 +01:00
Sébastien Loriot 6cc7d66415 Revert "Replace tex-style quotes with quotes that you would expect, as there"
This reverts commit e65a8028ea.

Conflicts:
	Approximate_min_ellipsoid_d/doc_tex/Bounding_volumes_ref/Approximate_min_ellipsoid_d.tex
	Approximate_min_ellipsoid_d/documentation/mel.tex
	Documentation/doxyassist.xml
	Installation/doc_tex/Installation/usage.tex
	Min_sphere_of_spheres_d/doc_tex/Bounding_volumes_ref/MinSphereOfSpheresTraits.tex
	Optimisation_doc/doc_tex/Bounding_volumes/user_part.tex
	Optimisation_doc/doc_tex/Inscribed_areas/user_part.tex
	Width_3/doc_tex/Polytope_distance_d_ref/Width_3.tex
2012-11-23 18:08:13 +01:00
Andreas Fabri 625f9f6cd7 after git merge remotes/origin/hot-fixes-for-Git 2012-11-20 13:02:17 +01:00
Philipp Möller 3d253a0edd Add CGAL_GIT_HASH and provide defaults for all variables 2012-11-15 13:20:37 +01:00
Eric Berberich 182acb2153 Merge branch 'Prepare_git-eric' 2012-11-14 12:07:47 +01:00
Eric Berberich ddd4ca95da fix if git dir is already given dir 2012-11-13 16:20:07 +01:00
Eric Berberich 7937e731d8 removed svn part, and added dummy SVN_CREATED_SVN_REVISION to be 99999 2012-11-13 15:51:37 +01:00
Laurent Rineau 96319a1365 reintegrate '^/branches/features/Triangulation_2_UseTraitsInHierarchy-GF' 2012-11-07 14:59:00 +00:00
Sébastien Loriot e0dca6cd10 update changes 2012-11-02 09:03:28 +00:00
Laurent Rineau ef5b895a93 merge from next 2012-11-02 08:49:12 +00:00
Eric Berberich 03ac16f071 whitespace for git 2012-10-23 23:27:34 +00:00
Laurent Rineau 46db94a606 Follow-up of r73184: patch the date and CGAL version in man(1) pages 2012-10-23 08:29:25 +00:00
Laurent Rineau 184f8735a3 Revert previous commit r73185 2012-10-23 08:28:33 +00:00
Laurent Rineau f346d6baa7 Follow-up of r73184: patch the date and CGAL version in man(1) pages 2012-10-23 08:27:01 +00:00
Eric Berberich fe43dd0171 better handling if source of executable is not in a git repo 2012-10-22 23:38:25 +00:00
Eric Berberich fc6d74c399 raise a CMake AUTHOR_WARNING if current branch does not match branch used to install cgal 2012-10-22 23:10:57 +00:00
Eric Berberich 358b8bb92b search for git parent dir + commented some verbosity 2012-10-22 23:09:58 +00:00
Eric Berberich 25f3fb6e2e remove SVN, refactored SCM code to CGAL_SCM.cmake
(plan is to reuse it UseCGAL.cmake)
2012-10-22 22:39:36 +00:00
Laurent Rineau 274b390c12 Update the path of the releases picture 2012-10-22 14:44:42 +00:00
Joachim Reichel 2f503f7746 Update date and version. 2012-10-20 10:44:08 +00:00
Philipp Möller e90c2d375d Fix the addresses of the mailing-lists hosted by inria
*@lists-sop.inria.fr -> *@inria.fr
2012-10-19 12:04:58 +00:00
Sébastien Loriot 52ad8a136c remove any reference to lapack in the doc 2012-10-18 14:22:20 +00:00
Sébastien Loriot ba2b7aef65 remove any reference to taucs 2012-10-18 13:46:11 +00:00
Sébastien Loriot 091cd2ae81 fix broken link 2012-10-18 12:41:04 +00:00
Eric Berberich 1d59758d89 add an additional check for requested component and raise the "NOTICE" if lib is not build 2012-10-10 14:21:50 +00:00
Laurent Rineau ac76a86278 Do check only headers in the include/CGAL directory.
Not in sub-directories.
2012-10-10 12:25:39 +00:00
Eric Berberich 9b72601224 give some more facts about optional libs, in particular NTL 2012-10-09 12:21:53 +00:00
Laurent Rineau f0118a1311 Revert last commit (commited by error) 2012-10-09 09:28:37 +00:00
Laurent Rineau 648472bdac After a run of detect_packages_license 2012-10-09 09:26:23 +00:00
Eric Berberich 7503d0ce5b merge from next 2012-10-08 09:57:49 +00:00
Eric Berberich 4cae227f10 NTL_VERSION can also be just \d.\d (regex was \d.\d.\d) 2012-10-05 22:34:46 +00:00
Eric Berberich 2bbc6c94a9 added missing { 2012-10-05 22:14:02 +00:00
Laurent Rineau 7618e75092 Replace phony targets check_* by real targets
That way the check is not redone for file that already passed the check.
2012-10-05 12:58:58 +00:00
Alexander Kobel e062c5f9e5 fixed PATH_SUFFIXES inconsistencies:
- proper indentation
- merge double occurences
- standardize location at the end block, before DOC

tested with GMP(XX), MPFR, MPFI, LEDA, RS(3), NTL and a (small) number of ways to specify library
locations via environment and CMake variables, on Debian 64bit
2012-10-05 12:40:10 +00:00
Laurent Rineau 0a081c2abd Add an option to check the syntax of headers, individually.
That feature can be enabled with g++, clang++, and icpc (intel). It could
be implemented for MSVC, with the flag /Zs, but that is not yet done (and
probably will not).

The option is controlled by a CMake option, CGAL_ENABLE_CHECK_HEADERS, that
is disabled by default. If that option is enabled by the user, then CMake
will check if the compiler $CXX understand the syntax:
  $CXX -x c++ -fsyntax-only CGAL/header.h
and send an error otherwise.

Then phony targets will be created:
  - a target check_CGAL__header_h for each header <CGAL/header.h>,
  - a target check_pkg_<pkg> for each package <pgk>,
  - and a target check_headers for the whole CGAL.

Those new targets currently give a lot of compilation errors if
CGAL_ENABLE_CHECK_HEADERS is enabled!

+ fix several missing includes in Mesh_2.
2012-10-05 12:21:44 +00:00
Alexander Kobel 461a23478d move detection whether additional LEDA flags are necessary to FindLEDA stage
only apply includes if UseLEDA is called
2012-10-04 13:28:51 +00:00