Commit Graph

368 Commits

Author SHA1 Message Date
Laurent Rineau 8231a36e89 Add Boost_DEBUG as an advanced OPTION 2014-11-28 12:09:14 +01:00
Laurent Rineau da77e0d819 Name of leda_numbers of Windows
Trivial fix for master

(cherry picked from commit 601d05d717edead7ea8396a0f723b715bbd9bdc6)
2014-07-21 14:00:59 +02:00
Sébastien Loriot 25f74f2a74 LEDA library numbers has been renamed to leda_numbers
trivial bugfix for master
2014-07-18 16:04:27 +02:00
Clement Jamin fbf824c711 Merge branch 'Mesh_3-parallel-cjamin'
This branch introduces parallel algorithms in Triangulation_3 and Mesh_3,
as well as a Concurrent_compact_container. The corresponding features are:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Parallel_triangulation_3
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Parallel_Mesh_3

Tested in CGAL-4.5-Ic-98.
Approved by the Release Manager.
2014-07-17 19:08:24 +02:00
Laurent Rineau b6aeb7cc66 Store CGAL_DISABLE_GMP in CGALConfig.cmake...
... and use it in UseCGAL/CGAL_Macros, to avoid re-enabling GMP by
error.
2014-07-09 15:39:44 +02:00
Laurent Rineau 0f5fc963b4 Support QUIETLY in FindTBB.cmake 2014-07-09 15:36:25 +02:00
Sébastien Loriot 2aadba50d7 Merge branch 'BGL-redesign_final-GF'
Introduces a redesign of the CGAL extension of the BGL API

Successfully tested in CGAL-4.5-Ic-90
Approved by the Release Manager

Conflicts:
	Surface_mesh_segmentation/test/Surface_mesh_segmentation/test_compute_sdf_values_and_segment_exact_rational.cpp
2014-07-08 19:45:16 +02:00
Sébastien Loriot ec9c796552 remove exe flag 2014-07-04 17:24:06 +02:00
Laurent Rineau a25bc04512 On Fedora, users of TBB may need pthread 2014-07-03 18:45:36 +02:00
Laurent Rineau b9cd9d198c LEDA_INC_DIR is a PATH, not a FILEPATH 2014-07-02 14:16:21 +02:00
Laurent Rineau 7e4607f77b Minor modifications
- less verbose
- support libraries in a subdirectory lib/ of the LEDA directory.
2014-06-26 16:57:54 +02:00
Laurent Rineau 2eef30914a Support libnumber.so 2014-06-26 16:57:36 +02:00
Laurent Rineau 460bbdfc8b Hide those variables from the CMake GUI 2014-06-26 16:57:12 +02:00
Sébastien Loriot 0230e979e2 Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
Conflicts:
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
	Documentation/doc/Installation.txt
	Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Andreas Fabri 4c8f452a78 Add {Find/Use}Openmesh.cmake and fix the CMakeLists.txt 2014-06-11 12:13:50 +02:00
Laurent Rineau 22804c5aa2 Remove trailing whitespace 2014-02-12 09:49:57 +01:00
Laurent Rineau d537497b88 Fix a typo 2014-02-12 09:49:13 +01:00
Laurent Rineau 909691f77c Add support for VC12 (and VC13) 2014-02-11 16:18:39 +01:00
Laurent Rineau 151844059a Fix a typo (found by Mael) 2013-10-29 16:19:15 +01:00
Laurent Rineau 9211e0eb2a Sort of bug-fix: unhide an important CMake variable 2013-09-16 14:30:06 +02:00
Andreas Fabri 78a3de4955 Search for taucs.h and not for the directory auxiliary/taucs/include
This leads to false positives
(cherry picked from commit a5d9d001aa995c4a66d73a40cbc6a1a22b795d4d)

Message added by Laurent Rineau:

  that commit was tested in CGAL-4.3-Ic-168
2013-09-12 12:01:39 +02:00
Laurent Rineau 85eeaca873 Link with the CGAL *target* we possible (instead of linking with the library)
That is a late follow-up to the following commit:

  | commit 12744ab7ff
  | Author: Laurent Rineau <Laurent.Rineau__CGAL@normalesup.org>
  | Date:   Thu Apr 28 13:11:09 2011 +0000
  |
  |     Track dependencies between libraries and examples/demos
  |
  |     With this patch, when CGAL as been configured with WITH_examples and/or
  |     WITH_demos, then the executables of examples and demos depends on the CGAL
  |     libraries. That means if one change a file involved in a CGAL library, and
  |     ask the rebuild of an executable, then the CGAL library will be rebuilt
  |     first.
  |
  | Notes:
  |     r63187 branches/next

Or maybe the bug was re-introduced by recent modifications of our CMake
scripts.
2013-08-20 15:45:29 +02:00
Laurent Rineau e724c1f519 Fix end-of-lines and end-of-files 2013-07-04 11:51:23 +02:00
Clement Jamin 8b0edee1f4 Merge branch 'concurrency_in_cgal-cjamin-old' into concurrency_in_cgal-cjamin 2013-07-03 17:17:34 +02:00
Clement Jamin 4d0c6a6bb0 Better FindTBB.cmake which works even if the debug version is not found
If the debug versions are not found, the release versions will be used instead
for the debug mode.
If the tbb_malloc library is not found, doesn't link with it.
2013-07-03 16:48:10 +02:00
Clement Jamin 9c57c17a34 Bugfix for TBB_LIBRARY_DIRS 2013-07-03 12:28:50 +02:00
Clement Jamin 3dfb28141f Mark TBB_MALLOCPROXY_XXX_LIBRARY as advanced in CMake 2013-06-28 17:55:12 +02:00
Clement Jamin da77b4d879 Correct FindTBB.cmake + add a UseTBB.cmake 2013-06-27 16:50:55 +02:00
Clement Jamin 90d0125741 Improved FindTBB.cmake
- Untabified
- Does not link with the TBB mallow proxy anymore, but set
  TBB_MALLOCPROXY_DEBUG_LIBRARY and TBB_MALLOCPROXY_RELEASE_LIBRARY
  so that a user can still link with it if necessary
  Note: the malloc proxy is not available on MacOS.
- Calls include_directories ( ${TBB_INCLUDE_DIRS} ) and
  link_directories( ${TBB_LIBRARY_DIRS} ) to set paths
2013-06-27 15:54:39 +02:00
Laurent Rineau 723a257a73 Merge branch 'Installation-tweak_FindEigen-lrineau' 2013-04-26 15:40:54 +02:00
Laurent Rineau bf39cc5e7c Add new names for leda libraries in FindLEDA.cmake
Under Windows, the libraries can be named leda_md and leda_mdd (debug).
2013-04-25 11:01:45 +02: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
Laurent Rineau 92f464232a Allow to add CGAL_DISABLE_GMP lately in the cache 2013-03-15 16:39:59 +01:00
Andreas Fabri 02bb200fe5 Add a CMake variable that allows to disable GMP/MPFR 2013-03-15 14:11:34 +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 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
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 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
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
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
Philipp Möller 3d253a0edd Add CGAL_GIT_HASH and provide defaults for all variables 2012-11-15 13:20:37 +01:00
Eric Berberich ddd4ca95da fix if git dir is already given dir 2012-11-13 16:20:07 +01:00
Eric Berberich 03ac16f071 whitespace for git 2012-10-23 23:27:34 +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