Alexander Grund
e9254ea803
Handle subfolders recursively
2025-09-11 16:05:48 +02:00
Alexander Grund
470c792b6d
Handle Boost.Test
2025-09-11 16:05:48 +02:00
Alexander Grund
8b60ba191a
Allow free-form Boost::foo
2025-09-11 16:05:48 +02:00
Alexander Grund
cb6a0a7d9f
Correctly handle dependencies of test dependencies
2025-09-11 16:05:48 +02:00
Alexander Grund
93f9f3f783
Don't add all libraries when BOOST_INCLUDE_LIBRARIES is set
...
Previously all libraries were added even though only a subset was selected.
This makes the configure process much longer then required or may fail
for libraries that aren't intended to be build.
Instead gather a 2nd list of dependencies determined by the test/CMakeLists.txt
when BUILD_TESTING is ON and add only those (with disabled install and tests)
2025-09-11 16:05:48 +02:00
Alexander Grund
613c0d5499
Error out if no included libraries were found
2025-09-11 12:15:31 +02:00
Peter Dimov
8ba1e3f4c1
Update comment
2024-10-10 14:45:43 +03:00
zjyhjqs
113ecd751e
Add CPack support
2024-10-03 11:07:41 +08:00
Peter Dimov
bb741d09d2
Add VERBATIM to add_custom_target
2024-07-13 21:13:18 +03:00
Peter Dimov
4c6884c2e2
Update description of BOOST_ENABLE_MPI to require CMake 3.10, because in 3.9 the MPI_CXX target refers to the C++ API, instead of (as in 3.10+) to the C API used from C++
2024-05-23 20:47:55 +03:00
Peter Dimov
33c036bd70
Link Boost::headers to all INTERFACE libraries when BOOST_ENABLE_COMPATIBILITY_TARGETS is ON
2024-05-14 20:01:06 +03:00
Peter Dimov
0994f04d69
Add compatibility targets to BoostRoot.cmake
2024-05-14 19:36:49 +03:00
Peter Dimov
3e81b4a371
Cosmetic formatting changes
2023-12-22 01:44:36 +02:00
Peter Dimov
8b6037e4c2
Merge pull request #47 from BraHei/feature/improved_fetchcontent_support
...
Add BOOST_SKIP_INSTALL_RULES check
2023-12-22 01:41:50 +02:00
Peter Dimov
e388dba756
Also allow '$<BUILD_INTERFACE:include>' instead of 'include' as the target_include_directories property
2023-12-17 06:05:37 +02:00
Peter Dimov
fd3c39dd4f
Add tests-quick and check-quick targets
2023-12-16 17:41:29 +02:00
BraHei
07e6e45002
Update BoostRoot.cmake
...
Added check for BOOST_SKIP_INSTALL_RULES
2023-11-24 13:39:36 +01:00
Peter Dimov
69f16e2819
Only put dependencies into a folder if CMAKE_FOLDER isn't already set
2023-02-16 21:47:26 +02:00
Peter Dimov
08fb18d575
Put dependencies into a Dependencies IDE folder. Closes #37 .
2023-02-08 03:11:08 +02:00
Peter Dimov
0e34b571cb
Add options for -fvisibility, set to hidden by default to match b2. Refs #35 .
2023-01-08 18:39:42 +02:00
Peter Dimov
92c5dc1732
Add config/BoostConfig.cmake, install it
2023-01-04 19:33:18 +02:00
Peter Dimov
e5825b0640
Consider headers an implicit dependency, to enable the target Boost::headers when installed
2023-01-03 05:26:18 +02:00
Peter Dimov
2fa92da819
Cosmetic fixes
2022-11-26 18:44:34 +02:00
Alexander Grund
0e39563d3a
Print CMake version on VERBOSE configure
...
As CMake changes behavior or available features depending on the version it is useful to know the version actually used during a configure run.
2022-11-26 17:01:45 +01:00
Peter Dimov
4c755a7404
Use BOOST_SKIP_INSTALL_RULES instead of CMAKE_SKIP_INSTALL_RULES, as the latter inhibits the generation of cmake_install.cmake and install targets
2022-10-21 01:34:52 +03:00
Peter Dimov
867da2bf4d
Remove gil from the incompatible libraries
2022-06-21 20:42:31 +03:00
Peter Dimov
6f704f541f
Add dependency of check on tests when check is declared, not in BoostTest
2022-06-03 06:20:02 +03:00
Peter Dimov
108b079520
Add --no-tests=error to target check
2022-06-03 05:59:45 +03:00
Peter Dimov
ff7da80c6e
Remove hana and safe_numerics from the incompatible library list
2021-10-29 21:06:17 +03:00
Peter Dimov
f1f15cd166
Remove compute from BOOST_INCOMPATIBLE_LIBRARIES
2021-09-24 19:32:22 +03:00
Peter Dimov
c2f52bfbb3
Update BoostRoot to not define cache variables when not root project
2021-09-18 16:38:56 +03:00
Peter Dimov
7b72b9c087
Save and restore variable values instead of unsetting them, because https://gitlab.kitware.com/cmake/cmake/-/issues/22651
2021-09-18 15:11:54 +03:00
Peter Dimov
4dfbec1d50
Remove hof from BOOST_INCOMPATIBLE_LIBRARIES
2021-09-16 14:26:54 +03:00
Peter Dimov
6294c9f3a7
Remove stl_interfaces, yap from BOOST_INCOMPATIBLE_LIBRARIES
2021-09-16 14:20:09 +03:00
Peter Dimov
eb6106496e
Remove callable_traits from BOOST_INCOMPATIBLE_LIBRARIES
2021-09-16 14:14:12 +03:00
Peter Dimov
79cb67e6ec
Only add libraries with EXCLUDE_FROM_ALL when BUILD_TESTING is true
2021-09-13 16:22:30 +03:00
Peter Dimov
f260111123
Set CMAKE_SKIP_INSTALL_RULES for non-included libraries
2021-09-13 16:09:48 +03:00
Peter Dimov
4f1840de88
Change status output slightly
2021-06-11 17:04:20 +03:00
Peter Dimov
af3707cba3
Remove beast from incompatible
2021-06-11 17:01:52 +03:00
Peter Dimov
09973992f7
Revert "Remove beast, stl_interfaces from incompatible"
...
This reverts commit a6afa2b17e
temporarily until everything is merged to master.
2021-06-11 01:44:08 +03:00
Peter Dimov
5cbded7e4d
Remove requirement for BOOST_ENABLE_CMAKE to be set
2021-06-10 03:05:07 +03:00
Peter Dimov
a6afa2b17e
Remove beast, stl_interfaces from incompatible
2021-06-06 22:38:27 +03:00
Peter Dimov
f0b2e06896
Output included and excluded libraries in BoostRoot
2021-06-04 19:39:57 +03:00
Peter Dimov
c9b97e5a12
Skip Boost.Python and dependents when BOOST_ENABLE_PYTHON is OFF
2021-06-04 04:11:25 +03:00
Peter Dimov
6804d31194
Add a status message to BoostRoot
2021-06-03 21:52:27 +03:00
Peter Dimov
9f32087cf0
Unblock static_string
2021-06-02 04:55:01 +03:00
Peter Dimov
de4ef67c31
Change installation support message
2021-05-30 20:10:51 +03:00
Peter Dimov
cd0cd5cdc4
Fix option(BOOST_ENABLE_MPI) syntax
2021-05-30 06:56:36 +03:00
Peter Dimov
2b02eee603
Add the BOOST_ENABLE_MPI option
2021-05-30 02:10:22 +03:00
Peter Dimov
2f14e7c79f
Revert "Call __boost_auto_install even when EXCLUDE_FROM_ALL, as a dependency may still create install targets"
...
This reverts commit eff29605de .
2021-03-19 03:05:09 +02:00