Jane Tournois
26f44ea271
update minimal valid boost version
2022-09-15 13:50:15 +01:00
Laurent Rineau
e260ea1dd4
C++11: remove the need for Boost.Thread, even with CGAL_Core
2019-06-18 15:06:23 +02:00
Laurent Rineau
7812d1b810
Boost: link with imported targets, if they exist
2019-04-29 16:36:04 +02:00
Laurent Rineau
af52b353d2
Boost 1.70 uses the CMake Config mode, now
2019-04-26 17:12:54 +02:00
Laurent Rineau
02d7260dc1
Store the detection of C++11 in a CMake global property
...
That avoids to re-detecting it again and again.
2017-12-19 15:56:02 +01:00
Laurent Rineau
777717ba7e
Move config/ to cmake/modules/config/
...
That way, the directory will be installed along with CMake modules.
2017-12-06 12:53:05 +01:00
Laurent Rineau
c0ad644269
Correct syntax for target_compile_definitions
2017-11-23 16:41:21 +01:00
Laurent Rineau
0c5ffa9968
Fix Boost usage on Windows
2017-11-17 11:06:32 +01:00
Laurent Rineau
3f3f5b1a52
Do not rely on CMAKE_MODULE_PATH
2017-11-15 14:45:12 +01:00
Laurent Rineau
a0155a70ed
Add Sphinx documentation
...
The `Makefile` can be used to generate the documentation:
make html
`sphinx-build` must be in the path.
2017-03-27 18:04:55 +02:00
Laurent Rineau
ff15d0e5fc
Simplify the CMakeLists.txt of our libraries
2017-03-27 17:23:26 +02:00
Laurent Rineau
c1b070dd51
Use try_run to detect the C++ version
2016-10-04 16:57:19 +02:00
Sébastien Loriot
da84b03941
better handling with cmake 3.4 and greater
2016-09-13 16:38:07 +02:00
Sébastien Loriot
ca8cfba5ad
-ansi implies c++98 -> update script requirements of boost libraries
2016-09-13 14:22:49 +02:00
Philipp Moeller
e261b3ad4f
Require correct Boost version through CMake
...
This catches errors early and provides a clear error message instead of waiting for something in a test or example to break.
2016-02-26 17:52:36 +01:00
Simon Giraudot
c2003e8a2a
Add test for c++1z and gnu++XX flags
2015-12-17 10:18:20 +01:00
Sébastien Loriot
e997e68582
missing c++98
2015-11-23 10:23:57 +01:00
Sébastien Loriot
260a501941
support more g++ version and enhance doc
2015-11-23 10:21:21 +01:00
Sébastien Loriot
d1489cd7e0
fix and simplify when boost libs are needed
2015-11-20 14:30:34 +01:00
Sébastien Loriot
86a2225a0c
boost thread not needed if using gcc 4.8 or greater in c++1[1/4] mode
2015-11-19 18:55:42 +01:00
Guillaume Damiand
bd1de66629
Update CGAL_SetupBoost
2015-10-02 10:30:36 +02:00
Andreas Fabri
d7c7747927
fix for non VC++
2015-10-02 10:23:27 +02:00
Andreas Fabri
47a41ccab0
cleanup
2015-10-01 12:38:55 +02:00
Andreas Fabri
bc5272495b
For MSVC we no longer require boost thread and system
2015-09-04 11:50:54 +02:00
Laurent Rineau
4eef28be7e
Minimal version of Boost: 1.48
2015-04-01 17:31:17 +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
Philipp Möller
1adf441b18
Convert all CRLF files to LF
2012-12-03 18:44:24 +01:00
Philipp Möller
f330095286
Add Boost.System to the CGAL dependencies
...
As of Boost 1.50 it is required to link Boost.System with CGAL. System
has been a Thread dependency all along and we simply never linked to
it and apparently got lucky.
Add it to the dependencies, add it in the manual and INSTALL file.
2012-07-24 10:02:57 +00:00
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
Laurent Rineau
8056b1ed39
In CMake, Windows users will have the choice to choose to use static or
...
dynamic Boost libraries
2011-10-06 13:15:11 +00:00
Andreas Fabri
cbfe32ce37
Add declspecs for Visual C++ so that we can build dlls
2011-10-05 19:12:23 +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
6bae1045df
Fixed handling of flags when defined interactively
2008-11-03 21:00:22 +00:00
Fernando Cacciola
8c47be0a13
Fixed droped CGAL_USE_<dependency>
2008-10-01 22:18:40 +00:00
Fernando Cacciola
bd5e784004
Dependencies setup refactored
2008-10-01 21:26:28 +00:00