Commit Graph

24 Commits

Author SHA1 Message Date
Sébastien Loriot 3cf08a5949 Set Eigen3 use file name in CGAL common
ensure the use file is known even if the FindEigen3.cmake
shipped with Eigen is used
2016-06-06 14:07:23 +02:00
Philipp Möller 1aa334ff34 Remove unnecessary variable
Never used anywhere and does not work with out-of-source builds
anyway...
2016-02-16 17:02:56 +01:00
Philipp Möller 4211a4f01e Globally remove CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
This is a Cmake 2.4.3 variable that isn't even documented anymore.
2016-02-16 17:02:55 +01:00
Philipp Möller c3fba6c5ab Remove unnecessary variable
Correct name would be CMAKE_COLOR_MAKEFILE and default is ON anyway.
2016-02-11 15:58:14 +01:00
Laurent Rineau ea6e24200c Allow the use of Visual Leak Detector
See the small feature [[Small features/Visual_Leak_Detector]] in CGAL
developers wiki:
  https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Visual_Leak_Detector

See also:
  http://vld.codeplex.com/
2013-09-11 12:25:01 +02:00
Philipp Möller 1adf441b18 Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
Eric Berberich d0d6335a79 added Eigen3_FIND_VERSION to search for minimal version
CGAL_Common.cmake is included at a very early stage 
- when configuring CGAL but also
- when configuring demos etc
2012-06-29 12:51:02 +00:00
Laurent Rineau 5946c69608 merge from next 2011-10-12 13:52:06 +00:00
Laurent Rineau 7059bf007a fix typo in text 2011-10-11 16:08:24 +00:00
Laurent Rineau 2ceafafab9 Cleanup in the CMake variable CGAL*SHARED_LIB*
Previously there was a variable CGAL_SHARED_LIBS defined by
CGALConfig.cmake. This one is now unified with CGAL_BUILD_SHARED_LIBS.

And the option CGAL_BUILD_SHARED_LIBS is only defined as an option if one
are building CGAL libraries. If CGAL_Common.cmake is included from another
project, such as from UseCGAL.cmake, then this variable is set in
CGALConfig.cmake as a regular (non-cached) CMake variable.
2011-10-11 14:24:22 +00:00
Laurent Rineau 87148361ff Rename CGAL_BUILD_SHARED_LIB to CGAL_BUILD_SHARED_LIBS
Better name, and more coherent with CMake variable name:
  BUILD_SHARED_LIBS
2011-10-11 13:52:25 +00:00
Laurent Rineau aa00f78883 Also support the compilation of CGAL libraries as static libs, with MSVC. 2011-10-06 16:01:16 +00:00
Andreas Fabri cbfe32ce37 Add declspecs for Visual C++ so that we can build dlls 2011-10-05 19:12:23 +00:00
Laurent Rineau 768159d119 Remove a CMake warning about RUNNING_CGAL_AUTO_TEST that is not always
used.
2011-05-31 09:38:31 +00:00
Laurent Rineau 4b795c56f4 Global handling of CMake policies
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.
2011-04-28 10:33:17 +00:00
Laurent Rineau a5d71efc67 Do not set the CMake policy CMP0017 in the testsuite, so that one can see
the warnings.
2011-03-10 23:42:53 +00:00
Laurent Rineau 684fd15bd3 Add comments near the CMake policy we set.
Set the new policy CMP0017 of CMake-2.8.4 to OLD.
2011-03-09 13:33:08 +00:00
Fernando Cacciola 48964c77a1 Re-removed CMAKE_VERBOSE_MAKEFILE=ON 2009-04-08 14:22:17 +00:00
Fernando Cacciola 1d2d7a3428 Removed totally useless cmake_policy (VERSION) command 2009-04-07 13:30:47 +00:00
Fernando Cacciola 6fcfa43cd7 Fixed find_package bug in 2.6.3 2009-04-06 13:34:12 +00:00
Fernando Cacciola fd1301b7c0 Replaced hardcoded CMAKE_VERBOSE_MAKEFILE with make VERBOSE=ON in the testsuite 2009-03-10 18:28:56 +00:00
Fernando Cacciola 4a4d927522 Moved cmake modules back (2/3) 2008-11-27 16:36:00 +00:00
Fernando Cacciola 2d5b17b9f4 renamed cmake/modules to lib/CGAL-3.4 (0/1) 2008-11-04 16:00:57 +00:00
Fernando Cacciola 145ee41079 Prefixed CGAL cmake modules with CGAL_ 2008-11-04 12:49:32 +00:00