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
Peter Dimov
e81bde33ad
Merge pull request #30 from Flamefire/multi-source
...
BoostTestJamfile: Allow multiple sources for tests
2023-01-02 20:30:13 +02:00
Alexander Grund
4fa457fe8e
Fix matching of multiple sources without semicolon (and space)
...
Change the RegEx to match "whitespace+filename"-elements instead of
the other way round as there might be no trailing whitespace when the
semicolon is on the next line.
2023-01-02 17:23:57 +01:00
Alexander Grund
dc416dd9b2
Split RegEx into 2 ifs
2023-01-02 14:33:25 +01:00
Ruben Perez
213c39e179
Added support for OpenSSL
2023-01-02 13:36:35 +01:00
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
Alexander Grund
8a9b9204bd
Rename to BOOST_TEST_SOURCES
2023-01-01 12:54:38 +01:00
Alexander Grund
171c0c739d
Add BOOST_TEST_ADDITIONAL_SOURCES
...
This appends additional source files to each test.
Useful e.g. in combination with BoostTestJamfile to append e.g. a common "main" cpp file or common headers (for IDEs)
2023-01-01 12:44:58 +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