2
0
mirror of https://github.com/boostorg/cmake.git synced 2026-01-19 04:02:15 +00:00

75 Commits

Author SHA1 Message Date
Peter Dimov
b49c365005 Rename __boost_install_update_extra_sources to __boost_install_update_sources; it can in theory be used for include/ as well, although we don't have a use case for this yet 2025-10-19 20:33:18 +03:00
Peter Dimov
466ba5e42e Do not restrict INTERFACE_SOURCE fixups to MSVC and .natvis; it's always needed for sources in extra/ 2025-10-19 03:11:21 +03:00
Peter Dimov
f9d5ca84ea Output CMAKE_INSTALL_DATADIR as well in status message 2025-10-19 02:58:19 +03:00
Braden Ganetsky
94a526fa21 Ensure natvis files in the extra/ directory are added to the target's INTERFACE_SOURCES 2025-10-10 21:09:48 -05:00
Braden Ganetsky
05207bb480 Install the extra/ directory in function boost_install() 2025-10-08 15:06:27 -05:00
Flamefire
247de87d85 Use custom property
Since CMake 3.11 properties  starting with underscores are considered
custom properties and allowed.
2025-09-28 18:47:43 +02:00
Alexander Grund
005e32d931 Avoid installing libraries multiple times or issueing wrong message
Some libraries call `boost_install` themselves which adds
`INSTALL_INTERFACE` to their `INTERFACE_INCLUDE_DIRETORIES` property.
That then makes the install check in `__boost_auto_install` fail and
print a message that the library won't be installed while it will be.

Use a label to detect targets for which `boost_install` was already
called and skip the logic in `__boost_auto_install` for those.
2025-09-28 12:49:37 +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
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
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
e388dba756 Also allow '$<BUILD_INTERFACE:include>' instead of 'include' as the target_include_directories property 2023-12-17 06:05:37 +02: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
Ruben Perez
213c39e179 Added support for OpenSSL 2023-01-02 13:36:35 +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
bd981bfaff BoostInstall: add find_dependency calls for Iconv and ICU 2021-11-01 04:57:36 +02:00
Peter Dimov
7f906e77da Update BoostInstall to not define cache variables when Boost is not the root project 2021-09-18 18:50:01 +03:00
Peter Dimov
0d556db2f2 Remove EXCLUDE_FROM_ALL check from boost_install as well :-/ 2021-09-13 16:16:18 +03:00
Peter Dimov
4c70fc06c6 Skip install rules in boost_install_target when CMAKE_SKIP_INSTALL_RULES is true 2021-09-13 16:03:03 +03:00
Peter Dimov
8111f0efd1 Merge branch 'develop' into feature/skip-install-rules 2021-09-13 15:00:26 +03:00
Peter Dimov
455d57036b Fix zstd target names 2021-09-13 15:00:08 +03:00
Peter Dimov
7e0b661def Do not skip boost_install_target when EXCLUDE_FROM_ALL 2021-09-13 01:42:30 +03:00
Peter Dimov
4a5c2e3c5d Update zstd target names to match zstd-config.cmake 2021-09-13 01:14:58 +03:00
Peter Dimov
c55db00884 Handle a Zstd::Zstd dependency in BoostInstall 2021-09-12 03:47:21 +03:00
Peter Dimov
1b474f5657 Update find_dependency logic 2021-06-05 01:09:34 +03:00
Peter Dimov
8b7f7f2ff6 Do not output a status message more than once in BoostInstall (no include_guard on pre-3.10) 2021-06-04 19:32:33 +03:00
Peter Dimov
f38df5f404 CMake 3.13 has no default destinations in install(TARGETS 2021-06-04 17:52:05 +03:00
Peter Dimov
6804d31194 Add a status message to BoostRoot 2021-06-03 21:52:27 +03:00
Peter Dimov
983b203ee7 Output a status message in BoostInstall 2021-06-03 21:35:48 +03:00
Peter Dimov
9a3d31f1ea Remove BOOST_INSTALL_INCLUDEDIR, use CMAKE_INSTALL_INCLUDEDIR; add BOOST_INSTALL_INCLUDE_SUBDIR 2021-06-03 20:35:56 +03:00
Peter Dimov
553b8b8dbe Drop BOOST_INSTALL_LIBDIR, use CMAKE_INSTALL_LIBDIR 2021-06-03 20:28:52 +03:00
Peter Dimov
9931750db5 Only install .pdb files when MSVC; TARGET_PDB_FILE is not supported by the other linkers and fails on Cygwin/minGW 2021-06-03 20:18:12 +03:00