2
0
mirror of https://github.com/boostorg/cmake.git synced 2026-01-24 05:42:13 +00:00
Commit Graph

189 Commits

Author SHA1 Message Date
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
7f5336b3bf Reflect changes from https://github.com/boostorg/mpi/pull/160 as suggested in #76. Closes #76. 2024-10-29 18:01:16 +02:00
Peter Dimov
4eeb136f14 Fix deduced architecture prefix under MinGW 2024-10-13 03:47:52 +03: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
ae2e6a6471 MSVC 19.40 is still vc143 2024-06-21 14:16:52 +03:00
Peter Dimov
5eab56dd6c Add HINTS to the TARGET_NAME_IF_EXISTS case as well 2024-06-19 22:17:09 +03:00
Peter Dimov
98dd92e976 Merge branch 'rules_foreign_cc_interop' of https://github.com/soro/cmake into feature/pr-67 2024-06-19 22:15:13 +03:00
Soeren Roerden
1cd045fdf6 Add a hint for the stage directory to find_package in the cmake configure files, so that recursive lookup does not fail when configuring as a transitive dependency using rules_foreign_cc (bazel) cmake targets 2024-06-19 12:50:52 -04:00
Pansysk75
d62826e0f4 Rename export directory 2024-06-18 12:10:13 -05:00
Pansysk75
280b8b3ec0 Do export(...) to Boost targets 2024-06-17 13:20:51 -05:00
Peter Dimov
440dd10f57 Special-case boost_exception and boost_test_exec_monitor, because they are hardcoded as STATIC 2024-05-31 04:44:04 +03:00
Peter Dimov
02587d479e Move the Boost_USE_STATIC_LIBS check from -config to -config-version 2024-05-28 21:55:26 +03:00
Peter Dimov
f36ef31f66 Honor Boost_USE_STATIC_LIBS in generated config files 2024-05-28 20:56:56 +03:00
Peter Dimov
5ad9418846 Add verbose output to installed config files 2024-05-28 20:23:05 +03:00
Peter Dimov
e73f78f361 Install static/shared library config files in separate directories. Refs #62. 2024-05-28 18:27:15 +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
Alexander Neumann
c2ee7bb2eb refine arch prefix selection 2024-04-28 11:41:33 +02:00
Peter Dimov
e5b13bf36b Merge pull request #58 from Neumann-A/optional-deps
Add optional deps into generated config
2024-04-24 13:23:54 +03:00
Alexander Neumann
e66171af0e Remove extra \ 2024-04-24 09:22:19 +02:00
Peter Dimov
d62cda17f7 Merge pull request #57 from Neumann-A/arch-tags
Add more arch tags
2024-04-20 17:17:11 +03:00
Alexander Neumann
e1d79b3e14 Do as requested 2024-04-20 12:08:48 +02:00
Alexander Neumann
09d9688e56 Introduce BOOST_ARCHITECTURE_TAG and precalculate it. 2024-04-20 11:49:27 +02:00
Alexander Neumann
8d80c613e1 Make zstd check agnostic to generator expressions and always use CONFIG mode 2024-04-19 23:41:53 +02:00
Alexander Neumann
f515d24900 Add optional deps into generated config 2024-04-19 23:29:11 +02:00
Alexander Neumann
ab16329fb5 Add more arch tags following FindBoost.cmake 2024-04-19 23:10:00 +02:00
Peter Dimov
8beeb2a656 Add support for BOOST_TEST_PREFIX to BoostTest 2023-12-22 03:47:18 +02:00
Peter Dimov
88d8b7e3cb Add INCLUDE_DIRECTORIES support to BoostTestJamfile 2023-12-22 03:39:52 +02:00
Peter Dimov
c2e5ab28b9 Add support for INCLUDE_DIRECTORIES to BoostTest. Fixes #48. 2023-12-22 03:07:15 +02: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
Ola Eklundh
c90334f799 Optimize dependency lookup
Proposing a fix for https://github.com/boostorg/cmake/issues/40
2023-10-23 15:20:22 +02: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
584d17ec52 Cosmetic fixes 2023-01-11 02:43:35 +02:00
Alexander Grund
5aa7bc700f Add support for WORKING_DIRECTORY to boost_test
Allow to set the working directory for the test and the VS debugger target.
2023-01-10 21:49:21 +01: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