Commit Graph

26 Commits

Author SHA1 Message Date
Laurent Rineau 6985effcc8 Fix the CMake module CGAL_SetupBoost shipped with CGAL
CGAL_Boost_USE_STATIC_LIBS is now an (advanced) CMake option on all
platforms, and is stored in the generated CGALConfig.cmake. That way, its
value is proposed as the default value for the same option when programs
using CGAL are configured using CMake.

The script UseCGAL includes the module CGAL_TweakFindBoost, to define
Boost_USE_STATIC_LIBS and Boost_ADDITIONAL_VERSIONS.
2011-10-12 13:47:18 +00:00
Eric Berberich a54f16d874 fixed include order 2011-04-29 12:36:03 +00:00
Laurent Rineau 12744ab7ff 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.
2011-04-28 13:11:09 +00:00
Eric Berberich eb7a5ed11e branch-build is now HOT on next ;-) 2011-04-15 09:12:06 +00:00
Laurent Rineau e458164d0a Merge the work from CGAL-3.7-branch:
| ------------------------------------------------------------------------
  | r57847 | lrineau | 2010-08-06 14:11:31 +0200 (Fri, 06 Aug 2010) | 4 lines
  | 
  | Turn cgal_setup_module_path into a CMake function.
  | Fix the CMake errors with CMake-2.6.0 and CMake-2.6.1 (VERSION_LESS if IF
  | has been introduced in CMake-2.6.2).
  | ------------------------------------------------------------------------
  | r57816 | lrineau | 2010-08-05 15:56:57 +0200 (Thu, 05 Aug 2010) | 17 lines
  | 
  | Clean the CMake configuration:
  | 
  |   - CGALConfig_install.cmake.source.in is removed. The variable
  |     SOURCE_INSTALL/CGAL_SOURCE_INSTALL were unused, and probably not tested
  |     for a long time (I found errors in
  |     CGALConfig_install.cmake.source.in). This has been cleaned.
  | 
  |   - CGALConfig_install.cmake.fhs.in is renamed (no .fhs. in it).
  | 
  |   - The module path is now modified in a macro (defined in
  |     CGAL_Macros.cmake), and the variable CGAL_CMAKE_MODULE_PATH is no
  |     longer stored or used in CGALConfig.cmake (the reason is that is was
  |     used as a path, where it is actually a list of paths).
  | 
  |   - The UseCGAL.cmake file only link with CGAL libraries that has been
  |     configured.
  | 
  | ------------------------------------------------------------------------
2010-08-10 11:55:00 +00:00
Fernando Cacciola 84a42139c0 Added back the fix for missing flags on demos, examples and tests 2009-04-27 14:32:55 +00:00
Fernando Cacciola 6fcfa43cd7 Fixed find_package bug in 2.6.3 2009-04-06 13:34:12 +00:00
Fernando Cacciola dd4aadc373 Fixed loosing flags when configuring demos and examples at once 2009-03-10 18:16:10 +00:00
Fernando Cacciola 6f52d14e4d Added current binary directory to each demo/examples to find .moc files 2008-12-17 19:44:21 +00:00
Laurent Rineau 2d8f66d8be That should fix the problem with strange characters, such as "(", in the
sources directory.
2008-12-17 15:28:54 +00:00
Laurent Rineau 642bde884e Last minute big change: make GMP/MPFR an optional dependency.
Locally tested.

Just after that commit, I will create a fake release and trigger a
test suite with that modification.
2008-12-03 13:09:43 +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
Fernando Cacciola 2455ef9e85 Replaced CGAL_SOURCE_DIR and CGAL_BINARY_DIR with CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR 2008-10-30 13:45:04 +00:00
Fernando Cacciola d70bdaea18 Prefixed cmake variables with CGAL_ 2008-10-23 14:59:02 +00:00
Fernando Cacciola aae7e6e95e Avoid re-configuring 3rd party libs on user programs since the reference cache is not loaded in this case 2008-10-07 23:10:03 +00:00
Fernando Cacciola 8c47be0a13 Fixed droped CGAL_USE_<dependency> 2008-10-01 22:18:40 +00:00
Fernando Cacciola 2092077d93 Dependencies setup refactored II 2008-10-01 21:27:19 +00:00
Laurent Rineau a5efb9f1ba Fix indentation. 2008-09-16 13:34:43 +00:00
Laurent Rineau d55fa891ea Fix naming hell in 3RD_PARTY_*DIR (*DIRS or *DIR). I have choosen *DIRS. 2008-09-16 11:57:59 +00:00
Fernando Cacciola cc25cb0130 Fixed unintended presistence of 3RD_PARTY cache variables 2008-09-15 16:25:09 +00:00
Fernando Cacciola ab07405874 Use unique names for example, demo and test targets
Renamed CGAL-Qt as CGAL-Qt3
Re-spelled cgal components as CORE, ImageIO, PDB, Qt3 and Qt4
2008-09-04 18:58:09 +00:00
Fernando Cacciola ee6fae2991 Added separation in components 2008-09-03 16:55:21 +00:00
Fernando Cacciola 20701bc56c Fixed parser error with examples and demos 2008-08-26 17:55:21 +00:00
Fernando Cacciola 6e36eda87b CMake stuff moved into the appropriate packages 2008-07-16 20:56:17 +00:00