summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z formatDennis Klein2019-05-131-3/+12
| | | | This aligns module mode behaviour with config mode.
* FindBoost: Modernize module mode with FPHSADennis Klein2019-05-071-130/+24
|
* FindBoost: Fix and modernize config mode with FPHSADennis Klein2019-05-071-10/+26
| | | | Fixes: #19186
* FindBoost: Add vars Boost_VERSION_MACRO/MAJOR/MINOR/PATCH/COUNTDennis Klein2019-05-071-19/+34
|
* FindBoost: Introduce new imported target Boost::headersDennis Klein2019-05-071-5/+15
|
* FindBoost: Compare versions consistently against Boost_VERSION_STRINGDennis Klein2019-05-071-55/+48
|
* Merge topic 'FindBoost-fix-fiber-compiler-features'Brad King2019-05-011-3/+11
|\ | | | | | | | | | | | | | | f06bf0fa57 FindBoost: Fix compiler features for `fiber` and `context` 684338aff6 FindBoost: Record compiler features for Boost 1.67 and above Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3266
| * FindBoost: Fix compiler features for `fiber` and `context`Alex Turbov2019-04-301-0/+2
| |
| * FindBoost: Record compiler features for Boost 1.67 and aboveAlex Turbov2019-04-301-3/+9
| | | | | | | | | | | | Remove the 1.67 upper-bound on compiler feature computation so that with newer versions we at least get it mostly right. Leave a comment with notes about updating features for future versions.
| * Merge branch 'Boost-Gentoo' into release-3.14Brad King2019-04-161-1/+1
| |\ | | | | | | | | | Merge-request: !3237
| * | FindBoost: Add support for MSVC toolset version 14.2Brad King2019-04-121-5/+20
| | | | | | | | | | | | Generalize the logic to express compatibility among 14.x versions.
* | | Merge topic 'Boost-Gentoo'Brad King2019-04-161-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 0b54f72e94 FindBoost: Fix detection with version suffixes on Gentoo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3237
| * | FindBoost: Fix detection with version suffixes on GentooRolf Eike Beer2019-04-161-1/+1
| |/ | | | | | | | | | | | | | | | | The Gentoo case added by commit 1673923c30 (FindBoost: Add support for Boost 1.67 with Python version suffixes, 2018-03-18, v3.11.0~3^2) left out the `.` version component separator and instead duplicated the RPM case. Add the missing `.` now. Fixes: #18743
* | FindBoost: Add support for MSVC toolset version 14.2Brad King2019-04-121-5/+20
| | | | | | | | Generalize the logic to express compatibility among 14.x versions.
* | Modules: Update documentation formattingBartosz Kosiorek2019-04-081-20/+20
| |
* | FindBoost: Consider boost suffixes suitable for clang-clDouman2019-04-031-1/+7
| | | | | | | | | | When compiling with `clang-cl` we can use either the MSVC- or Clang-built boost libraries.
* | FindBoost: always define BOOST_ALL_DYN_LINK for Boost::dynamic_linkingNeroBurner2019-03-111-2/+2
|/ | | | | | | | | | | The purpose of the `Boost::dynamic_linking` interface library is to cause `BOOST_ALL_DYN_LINK` to be defined. Do this on all platforms instead of just Windows. In particular, using Boost::log trivial_logger requires to set BOOST_ALL_NO_LIB when Boost::Log is compiled as dynamic library. Fixes: #17813
* FindBoost: Find boost libraries built with --layout=taggedYves Frederix2019-02-181-0/+8
| | | | | | | Pick up libraries of the form `boost_system-mt-x64`, which do not have the version suffix. Fixes: #18908
* FindBoost: Add support for Boost 1.70Mateusz Łoskot2018-12-181-3/+17
| | | | Boost master and develop branches just bumped the version.
* Merge topic 'FindBoost-no-cxx'Brad King2018-11-271-6/+3
|\ | | | | | | | | | | | | 0369362132 FindBoost: Restore finding without CXX language enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2663
| * FindBoost: Restore finding without CXX language enabledBrad King2018-11-261-6/+3
| | | | | | | | | | | | | | | | | | | | Since commit v3.13.0~7^2 (FindBoost: Improve compiler prefix detection for GCC 5+ and clang 4+, 2018-11-07) we run the internal `_Boost_COMPILER_DUMPVERSION` macro on all UNIX platforms. Teach the macro to tolerate missing `CMAKE_CXX_COMPILER_VERSION`, which occurs when the CXX language is not enabled. Fixes: #18624
| * Merge branch 'FindBoost-1.69' into release-3.13Brad King2018-11-131-3/+3
| |\ | | | | | | | | | Merge-request: !2601
* | | FindBoost: provide the version in x.y.z formatBen Boeckel2018-11-201-0/+2
| | |
* | | Merge topic 'FindBoost-1.69'Brad King2018-11-131-3/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 5045cd82d0 FindBoost: Additional fixes for 1.69 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2601
| * | FindBoost: Additional fixes for 1.69Roger Leigh2018-11-131-3/+3
| | |
* | | Merge topic 'FindBoost-compiler-guess-update'Brad King2018-11-121-7/+26
|\ \ \ | | |/ | |/| | | | | | | | | | | | | b71667a395 FindBoost: Improve compiler prefix detection for GCC 5+ and clang 4+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2579
| * | FindBoost: Improve compiler prefix detection for GCC 5+ and clang 4+Mateusz Łoskot2018-11-091-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add recognition of compiler version and prefix for clang. Accommodate changes to version numbering scheme for GCC 5+ and clang 4+ - Minor number becomes patch, so excluded it from compiler prefix. - Improves searching for Boost 1.69+ libraries built with GCC 5+ and clang 4+, where library names are generated with compiler tag based on major version only eg. -gcc5 for GC 5.5.0 or -clang6 for clang 6.0.0 - Follows up related changes in upcoming Boost 1.69 https://github.com/boostorg/build/pull/349 Dump detected compiler version in Boost_DEBUG message. Replace use of CMAKE_COMPILER_IS_GNUCXX with CMAKE_CXX_COMPILER_ID.
* | | Merge topic 'FindBoost-link-threads'Brad King2018-11-091-0/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | bd831ed094 FindBoost: Add system thread library to Boost_LIBRARIES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2570
| * | FindBoost: Add system thread library to Boost_LIBRARIESFelix Geyer2018-11-091-0/+3
| |/ | | | | | | | | | | | | | | | | Add the system thread library to Boost_LIBRARIES when the boost thread component has been found. The Boost::thread imported target already pulls in Threads::Threads. This changes does the same for projects using the Boost_LIBRARIES variable instead.
* | Merge branch 'backport-FindBoost-explicit-arch-tag'Brad King2018-11-051-21/+32
|\ \ | |/
| * FindBoost: Add explicit Boost_ARCHITECTURE optionBrad King2018-11-051-19/+30
| | | | | | | | | | | | | | | | | | | | | | Boost 1.66 and above built with `--layout=versioned` add an architecture tag to the library file names. We already try to compute this tag automatically when `CMAKE_CXX_COMPILER_ARCHITECTURE_ID` is available, but that is currently not computed everywhere. Add an explicit `Boost_ARCHITECTURE` option that a user can set to specify the architecture tag. Issue: #17701
| * Merge branch 'FindBoost-stacktrace' into release-3.13Brad King2018-10-291-0/+6
| |\ | | | | | | | | | Merge-request: !2541
| * \ Merge branch 'FindBoost-1.69' into release-3.13Brad King2018-10-251-14/+29
| |\ \ | | | | | | | | | | | | Merge-request: !2522
* | \ \ Merge topic 'FindBoost-exact-version'Brad King2018-11-021-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9855a80fd4 FindBoost: search default path if Boost_FIND_VERSION_EXACT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2543
| * | | | FindBoost: search default path if Boost_FIND_VERSION_EXACTHannes Franke2018-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Search paths for boost versions should be build using _boost_TEST_VERSIONS instead of _Boost_KNOWN_VERSIONS because if Boost_FIND_VERSION_EXACT is used _Boost_KNOWN_VERSIONS is empty and boost isn't found even in its default installation path. Fixes: #17986
* | | | | Merge topic 'FindBoost-debug-lib-prefix'Brad King2018-10-311-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c664470966 FindBoost: Output Boost_LIB_PREFIX if Boost_DEBUG=ON requested Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Roger Leigh <rleigh@codelibre.net> Merge-request: !2548
| * | | | | FindBoost: Output Boost_LIB_PREFIX if Boost_DEBUG=ON requestedMateusz Łoskot2018-10-301-0/+7
| |/ / / / | | | | | | | | | | | | | | | Output Boost_NAMESPACE too.
* | | | | Merge topic 'FindBoost-stacktrace'Brad King2018-10-301-0/+6
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | b27cf72dea FindBoost: Add support for stacktrace components Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Roger Leigh <rleigh@codelibre.net> Merge-request: !2541
| * | | FindBoost: Add support for stacktrace componentsMartin Quinson2018-10-291-0/+6
| | |/ | |/| | | | | | | | | | | | | Define the headers associated to `boost_stacktrace_*`. Fixes: #17297
* | | Merge topic 'FindBoost-1.69'Brad King2018-10-251-14/+29
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 364fb69adc FindBoost: Add support for upcoming Boost 1.69 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Mateusz Łoskot <mateusz@loskot.net> Merge-request: !2522
| * | FindBoost: Add support for upcoming Boost 1.69Mateusz Łoskot2018-10-251-14/+29
| | | | | | | | | | | | This makes the module usable with Boost from its current master.
* | | Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-231/+232
| |/ |/|
* | FindBoost: Search for -mt variant of release libsMario Bielert2018-10-111-0/+1
|/ | | | | We were searching the `-mt` variant for debug libs only. It makes sense for release libs too.
* FindBoost: Suppress imported targets warning if Boost was not foundRoger Leigh2018-09-121-1/+1
| | | | Fixes: #18330
* Merge topic 'replace-os-x-name-with-macos'Brad King2018-09-111-2/+2
|\ | | | | | | | | | | | | | | | | | | ab2e35d614 Replace occurrences of "Mac OS X" with "macOS" in comments fc1602456a Help: Replace occurrences of "Mac OS X" with "macOS" Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Gregor Jasny <gjasny@googlemail.com> Reviewed-by: Clinton Stimpson <clinton@elemtech.com> Merge-request: !2351
| * Replace occurrences of "Mac OS X" with "macOS" in commentsBartosz Kosiorek2018-09-101-2/+2
| | | | | | | | | | | | | | | | Apple's main Operating system changed their name from OS X to macOS: https://www.engadget.com/2016/06/13/os-x-is-now-macos/ Revise source comments accordingly.
* | Merge topic 'FindBoost-old-context'Brad King2018-09-051-1/+5
|\ \ | |/ |/| | | | | | | | | 9a800c12fc FindBoost: Fix context discovery for 1.60 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2348
| * FindBoost: Fix context discovery for 1.60 and belowIgor Kostenko2018-09-041-1/+5
| | | | | | | | | | | | | | | | | | * `all.hpp` was removed in 1.68: https://github.com/boostorg/context/commit/2e37599461912cc1679f106a25456a493f7f0b27 * `fcontext.hpp` was moved to detail in 1.61: https://github.com/boostorg/context/commit/c2f0dfdf2608c1ebaa2229fa6f358fe6aa103561 Fixes: #18126
* | Merge topic 'boost-1.68-beta1'Brad King2018-07-131-4/+23
|\ \ | |/ | | | | | | | | | | | | | | b76b93c728 FindBoost: Change context header used c8a7835ea9 FindBoost: Add support for Boost 1.68 beta1 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alexander Grund <github@grundis.de> Merge-request: !2204
| * FindBoost: Change context header usedRoger Leigh2018-07-111-1/+1
| | | | | | | | | | | | boost/context/all.hpp is removed in Boost 1.68. boost/context/detail/fcontext.hpp is present in all Boost releases containing context (≥1.61).