2
0
mirror of https://github.com/boostorg/cmake.git synced 2026-02-01 20:32:18 +00:00
Commit Graph

133 Commits

Author SHA1 Message Date
Alexander Grund
60b5fd4e35 BoostTestJamfile: Allow multiple sources for tests
Restrict that case to alpha-numeric (plus underscore) filenames with
`.cpp` ending to avoid wrongly matching any other B2 syntax elements.
2023-01-01 17:59:55 +01: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
a3ff339b2c Revert "Revert "Generate test name ignoring file extension""
This reverts commit 60599c6a59.

Re-apply PR#22 now that Preprocessor tests should be fixed.
2022-08-16 21:31:23 +03:00
Peter Dimov
60599c6a59 Revert "Generate test name ignoring file extension"
This reverts commit 9924675d80.

It broke the tests for Preprocessor, which uses the same name
for C and C++ tests.
2022-08-16 10:53:53 +03:00
Alexander Grund
9924675d80 Generate test name ignoring file extension
The test names are overly verbose containing a `_cpp` suffix.
Remove that.
2022-07-19 10:02:43 +02: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
Alexander Grund
da878e6d4e Add dependency of check-target on tests-target
This allows to build and run the tests by building (only) the `check` target
2022-06-02 18:06:05 +02:00
Peter Dimov
bd981bfaff BoostInstall: add find_dependency calls for Iconv and ICU 2021-11-01 04:57:36 +02: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
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
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
0d556db2f2 Remove EXCLUDE_FROM_ALL check from boost_install as well :-/ 2021-09-13 16:16:18 +03:00
Peter Dimov
f260111123 Set CMAKE_SKIP_INSTALL_RULES for non-included libraries 2021-09-13 16:09:48 +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
e8484ee36e Remove FindZstd.cmake :-/ 2021-09-13 01:16:22 +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
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
c262c5a119 Fix boost_test_jamfile 2021-06-11 04:38:06 +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
f18b57d252 Use AUTHOR_WARNING when LIBRARIES is used instead of LINK_LIBRARIES 2021-06-10 21:36:35 +03:00
Peter Dimov
c024e2b56e Fix quoting in boost_test_jamfile 2021-06-10 21:35:41 +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
e93121ed93 Add FindZstd.cmake 2021-06-06 03:04:25 +03:00
Peter Dimov
222638e413 Update BoostTest to allow parallel testing 2021-06-05 18:12:55 +03:00
Peter Dimov
1b474f5657 Update find_dependency logic 2021-06-05 01:09:34 +03:00
Peter Dimov
f0b2e06896 Output included and excluded libraries in BoostRoot 2021-06-04 19:39:57 +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
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
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