summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindBoost: Add legacy variables and targets for compatibilityAlexander Grund2019-06-181-0/+150
| | | | | This allows future BoostConfig to NOT define those and users relying on them use the newer FindBoost of newer CMake versions
* FindBoost: Don't overwrite Boost_${_comp}_FOUNDAlexander Grund2019-06-181-5/+7
| | | | Is set in Boost >= 1.71 so don't overwrite it
* FindBoost: Refactor debug messagesDennis Klein2019-05-281-100/+100
| | | | | | | * Deduplicate code with helper functions * Remove double printing of _boost_TEST_VERSIONS * Fix #19158 * Add printing of a few additional variables
* Merge topic 'FindBoost-contract-requires-compile-features'Brad King2019-05-281-0/+10
|\ | | | | | | | | | | | | b915a42585 FindBoost: Add compiler features for Boost Contract library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3368
| * FindBoost: Add compiler features for Boost Contract libraryAlex Turbov2019-05-241-0/+10
| |
* | FindBoost: Remove obsolete diagnostic message about Boost_ROOTDennis Klein2019-05-151-1/+5
| | | | | | | | | | | | | | | | CMake 3.12 introduced <package>_ROOT CMake and environment variables to be valid hints to find_package(<package>). Defining Boost_ROOT is no longer wrong if CMP0074 is set to NEW. Fixes #18810
* | 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