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

35 Commits

Author SHA1 Message Date
Peter Dimov
0f810ec314 Fix link-fail under CMake < 3.12. Refs #95. 2025-10-09 22:35:09 +03: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
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
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
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
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
6f704f541f Add dependency of check on tests when check is declared, not in BoostTest 2022-06-03 06:20:02 +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
222638e413 Update BoostTest to allow parallel testing 2021-06-05 18:12:55 +03:00
Peter Dimov
dc0a97cb89 Skip tests if a library requires an unsupported compile feature 2019-12-29 04:32:11 +02:00
Peter Dimov
b1ecad5bdf Change BoostTest messages a bit 2019-12-29 03:14:14 +02:00
Peter Dimov
2afc07ea7c boost_test: skip test if a compile feature is unknown to the compiler 2019-12-29 00:20:44 +02:00
Peter Dimov
b00d8f3da6 Add IGNORE_TEST_GLOBALS to boost_test 2019-12-29 00:14:39 +02:00
Peter Dimov
b93413c0fd Add support for global BOOST_TEST_* variables in BoostTest 2019-12-28 22:23:41 +02:00
Peter Dimov
2632456afb Make deprecation messages VERBOSE instead of DEBUG 2019-12-27 05:54:07 +02:00
Peter Dimov
ffc44ec474 Fix indentation in BoostTest 2019-12-27 01:46:50 +02:00
Peter Dimov
6e5effee23 Translate g++ style COMPILE_OPTIONS into their MSVC equivalents 2019-12-27 01:43:34 +02:00
Peter Dimov
122cef633a Add support for COMPILE_OPTIONS, COMPILE_FEATURES 2019-12-26 22:54:04 +02:00
Peter Dimov
587e88406c Do not create any tests when BUILD_TESTING is defined and OFF 2019-12-26 22:13:24 +02:00
Peter Dimov
fcd097612c Issue a debug message on use of LIBRARIES 2019-12-26 21:13:01 +02:00
Peter Dimov
52641dc776 boost_test: add support for COMPILE_DEFINITIONS 2019-12-26 21:07:57 +02:00
Peter Dimov
5b3e632d86 Fix link-fail test type to use an object library 2019-12-26 20:58:08 +02:00
Peter Dimov
2827aa8044 boost_test: rename LIBRARIES to LINK_LIBRARIES to match the property name 2019-12-26 20:54:49 +02:00
Peter Dimov
f99ddc9a2a Warn on unparsed arguments, unknown test type in boost_test, boost_test_jamfile 2019-12-26 20:53:01 +02:00
Peter Dimov
1744751553 Add include guards 2019-12-21 04:23:53 +02:00
Peter Dimov
e52255e4b4 BoostTest: use STATIC libraries for compile tests 2019-12-16 04:22:37 +02:00
Peter Dimov
fd1edcf6d1 BoostTest: propagate configuration to nested cmake invocations 2019-12-16 01:42:50 +02:00
Peter Dimov
c9a31e1b06 Add BoostRoot, BoostMessage, BoostTest, BoostTestJamfile 2019-12-15 20:02:14 +02:00