Commit Graph

17 Commits

Author SHA1 Message Date
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