summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
Commit message (Collapse)AuthorAgeFilesLines
* 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).
| * FindBoost: Add support for Boost 1.68 beta1Roger Leigh2018-07-111-3/+22
| | | | | | | | | | | | This includes a new component, `Boost::contract`. Fixes: #18167
* | FindBoost: Update MSVC architecture check code styleMatt Powley2018-06-271-5/+5
|/
* Merge topic 'FindBoost-backport-python-deps'Brad King2018-05-111-34/+34
|\ | | | | | | | | | | | | | | 81cc993f89 FindBoost: Backport versioned python dependencies for v1.35 to v1.66 557e68e1a3 FindBoost: Remove extra indentation in 1.65/1.66 dependency block Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2045
| * FindBoost: Backport versioned python dependencies for v1.35 to v1.66Filip Matzner2018-05-091-20/+20
| | | | | | | | | | | | | | | | | | | | | | Update `mpi_python##` and `numpy##` component dependencies to honor python version suffixes on components named by the caller. Although upstream Boost did not add version suffixes prior to version 1.67, it is commonly done by distros. Honor suffixes specified by project code. Projects must take responsibility for naming distro-specific component suffixes for versions prior to 1.67. Fixes: #17892, #17970
| * FindBoost: Remove extra indentation in 1.65/1.66 dependency blockBrad King2018-05-081-16/+16
| |
* | Modules: Use MSVC_TOOLSET_VERSION variable to simplify logicArkady Shapkin2018-04-041-26/+7
|/
* FindBoost: Add support for Boost 1.67 with Python version suffixesRoger Leigh2018-03-211-41/+129
| | | | Fixes: #16612, #16335, #16391, #12955
* FindBoost: support OPTIONAL_COMPONENTSSergiu Deitsch2018-01-191-3/+5
|
* FindBoost: Generate imported targets for future Boost versionsPaul "TBBle" Hampson2018-01-101-1/+0
| | | | | | | | | Per discussion on cmake/cmake#17575, this protection not particularly valuable, as the dependency information which the imported targets wrap is generated anyway. This removes a road-block for using `Boost_ADDITIONAL_VERSIONS` to support newly-released Boost versions pending a new CMake release.
* FindBoost: Search for upstream-packaged libs next to includesPaul "TBBle" Hampson2018-01-101-0/+1
| | | | | Upstream packages Boost binaries for Windows with the 'boost' directory (the INCLUDE_DIR) next to the lib-... directory (the LIBRARY_DIR).
* FindBoost: Implement "Architecture and Address Model" tagPaul "TBBle" Hampson2018-01-101-10/+42
| | | | | This tag is new in Boost 1.66.0, and is present in the 'versioned' library file name layout.
* FindBoost: Fix incorrect alphabetisation of headers listPaul "TBBle" Hampson2018-01-101-1/+1
|
* FindBoost: Boost 1.66.0 dependency and release updatePaul "TBBle" Hampson2018-01-101-4/+4
| | | | | | | | Release notes: http://www.boost.org/users/history/version_1_66_0.html * All new libraries are header-only. * _Boost_COMPONENT_DEPENDENCIES is unchanged from 1.65.1 * _Boost_FIBER_COMPILER_FEATURES is unchanged from 1.64.0
* GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in ModulesCraig Scott2017-12-291-5/+6
|
* FindBoost: Add Windows ABI tag for Clang debugRoger Leigh2017-11-271-0/+1
| | | | | | Thanks to Walter Pearce for this suggestion. Fixes: #17505
* FindBoost: Use CMAKE_CXX_COMPILER_ID for Intel compilerRoger Leigh2017-11-271-5/+2
|
* FindBoost: support more than one number in version componentsBen Boeckel2017-11-061-1/+1
|
* FindBoost: use CMake's compiler version rather than querying againBen Boeckel2017-11-031-6/+1
|
* FindBoost: Improve messages when a Boost CMake package is foundBrad King2017-09-291-3/+2
| | | | | | Add a test for this case to verify the messages. This test will also be valuable to cover this code path in which we've had several regressions recently.
* FindBoost: Simplify search in listsAlex Turbov2017-09-181-5/+9
| | | | | | | | | | | | | | | | Instead of `list(FIND...)` and then checking result for `-1` (found/not-found), nowadays `if` command has the `IN_LIST` test for that. This change was originally made by commit v3.9.0-rc1~41^2 (FindBoost: Simplify search in lists, 2017-04-23) but then had to be reverted by commit v3.9.2~3^2 (FindBoost: Revert "Simplify search in lists.", 2017-09-05) due to problems related to using `find_dependency`. Those problems were addressed by commit 3080a0a611 (FindBoost: Improve behavior when thread dependency is missing, 2017-09-15), so now we can restore the original change. Issue: #17252
* FindBoost: Improve behavior when thread dependency is missingBrad King2017-09-151-4/+14
| | | | | | | | | | The `find_dependency` macro is not meant for use in find modules and `return()`s from the caller when the package is not found. Avoid using it in FindBoost. Instead use plain `find_package` for the Threads package and manually forward the `QUIET` argument. When the Threads package is missing then treat the Boost `thread` component as missing. Issue: #17257
* Merge topic 'boost-1.65.1'Brad King2017-09-081-1/+1
|\ | | | | | | | | | | | | dbba53a5 FindBoost: Add version 1.65.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1241
| * FindBoost: Add version 1.65.1Roger Leigh2017-09-061-1/+1
| |
* | Merge topic 'FindBoost-limit-configs'Brad King2017-09-071-16/+32
|\ \ | |/ |/| | | | | | | | | e6159e18 FindBoost: Add option to prevent finding DEBUG/RELEASE Boost-libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1216
| * FindBoost: Add option to prevent finding DEBUG/RELEASE Boost-libsDeniz Bahadir2017-09-061-16/+32
| | | | | | | | | | | | | | | | | | | | With the use of options `Boost_USE_DEBUG_LIBS` and `Boost_USE_RELEASE_LIBS` it is now possible to skip searching for either DEBUG or RELEASE Boost libraries. This is useful if Boost is installed on the system in multiple directories but only one of them should be used which only contains e.g. the RELEASE libraries. Without this change the DEBUG libraries might be found in the other directory which might not be desired at all.
* | Merge topic 'FindBoost-fix-policy-scope'Brad King2017-09-061-9/+5
|\ \ | |/ |/| | | | | | | | | ade45fa3 FindBoost: Revert "Simplify search in lists." Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1238
| * FindBoost: Revert "Simplify search in lists."Brad King2017-09-051-9/+5
| | | | | | | | | | | | | | | | | | | | Revert commit v3.9.0-rc1~41^2 (FindBoost: Simplify search in lists, 2017-04-23). It regressed the module by exposing issue #17257, but the fix for that issue is not suitable for inclusion in a patch release. It is simplest to revert the commit until the larger problem can be addressed. Fixes: #17252
* | FindBoost: Add Boost 1.65 dependenciesRoger Leigh2017-08-221-3/+27
|/
* FindBoost: pop policy stack before returningCristian Adam2017-07-261-0/+2
| | | | | CMake would give a fatal error if the policy stack was cleaned up upon exiting the module.
* FindBoost: Simplify search in lists.Alex Turbov2017-05-261-6/+10
| | | | | | Instead of `list(FIND...)` and then checking result for `-1` (found/not-found), nowadays `if` command has the `IN_LIST` test for that.
* Boost Fiber actually require at least C++11.Alex Turbov2017-04-231-0/+34
| | | | | | | Some boost libraries may require particular set of compler features. The very first one was `boost::fiber` introduced in Boost 1.62. One can check required compiler features of it in `${Boost_ROOT}/libs/fiber/build/Jamfile.v2`.
* Merge topic 'FindBoost-fix-backslash-tolerance'Brad King2017-04-201-2/+3
|\ | | | | | | | | | | | | 2516bccd FindBoost: Restore tolerance of backslashes in paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !721
| * FindBoost: Restore tolerance of backslashes in pathsAlex Turbov2017-04-191-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.8.0-rc1~136^2 (FindBoost: Search official location of prebuilt binaries on Windows, 2016-12-21) we pass input paths through `_Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS` in more places than before. This broke tolerance of backslashes in paths provided by the user due to the macro argument re-parsing. Turn `_Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS` into a function instead of macro to avoid re-parsing of macro arguments. Fixes: #16816
* | FindBoost: Fix release name candidate list constructionyume todo2017-04-061-1/+1
| | | | | | | | | | | | | | | | Changes in commit 3ca6f70f (FindBoost: Allow testing for multiple compiler suffixes, 2017-03-28) accidentally left a `set()` instead of a `list(APPEND)` while constructing `_boost_RELEASE_NAMES`. Fix the logic to match what was done for `_boost_DEBUG_NAMES`. Otherwise we drop some of the candidate names.
* | Merge topic 'FindBoost-vs-toolset-fallback'Brad King2017-04-041-13/+41
|\ \ | |/ |/| | | | | | | | | | | 862482df FindBoost: Support prebuilt Windows binaries from SourceForge 3ca6f70f FindBoost: Allow testing for multiple compiler suffixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !639
| * FindBoost: Support prebuilt Windows binaries from SourceForgeRoger Leigh2017-03-291-1/+11
| | | | | | | | | | This are searched for in the default installed location C:/local/boost_${ver}
| * FindBoost: Allow testing for multiple compiler suffixesRoger Leigh2017-03-291-12/+30
| | | | | | | | | | | | | | | | This is to permit VS2017 to make use of the vc141 suffix or fall back to the compatible vc140 to use Boost libraries built with VS2015. Fixes: #16631
| * Merge topic 'avoid-MSVC-per-version-vars'Brad King2017-03-231-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 9ab966a7 FindRuby: Use `MSVC_VERSION` instead of `MSVC##` 69b9fde1 FindGTK2: Use `MSVC_VERSION` instead of `MSVC##` 3fe31822 FindBoost: Avoid mentioning discouraged `MSVC##`` variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !610
* | | FindBoost: Update 1.64 dependencies using 1.64 beta1Roger Leigh2017-03-301-0/+1
| | |
* | | Merge branch 'avoid-MSVC-per-version-vars' into releaseBrad King2017-03-231-1/+1
|\ \ \ | |/ / |/| / | |/
| * FindBoost: Avoid mentioning discouraged `MSVC##`` variableBrad King2017-03-231-1/+1
| |
* | FindBoost: Update support for 1.64Mateusz Łoskot2017-03-221-1/+1
| | | | | | | | | | Update the Boost library name mangling used for VS 2017 to match a change made to Boost upstream (vc1410 => vc141).
* | FindBoost: Add support for 1.64Mateusz Łoskot2017-03-201-3/+3
|/ | | | | | Update the module to enable finding components of Boost 1.64 (beta) from the upcoming release. Also update the Boost library name mangling used for VS 2017 to match a change made to Boost upstream (vc150 => vc1410).
* FindBoost: unset cache variables if the lib dir changesYves Frederix2017-01-301-1/+1
| | | | | | | | This fixes a regression introduced by commit v3.3.0-rc1~5^2~2 (FindBoost: Search for debug and release libraries separately, 2015-01-26). The `_Boost_CHANGE_LIBDIR` variable was split into `_Boost_CHANGE_LIBDIR_{DEBUG,RELEASE}` but one usage site was not updated.
* Merge topic 'FindBoost-1.63'Brad King2017-01-111-1/+16
|\ | | | | | | | | a9b93501 FindBoost: Add support for 1.63
| * FindBoost: Add support for 1.63Roger Leigh2017-01-101-1/+16
| |