2
0
mirror of https://github.com/boostorg/url.git synced 2026-01-27 07:22:14 +00:00

14 Commits

Author SHA1 Message Date
Alan de Freitas
50bd47efb7 build: cmake preferred version is 3.20 2025-05-21 15:51:05 -05:00
alandefreitas
88eb32c80d build: cmake subdirectory tests skip Boost.Context 2025-03-08 14:31:51 -03:00
alandefreitas
36602cfd44 build: cmake subdirectory test disables examples 2025-03-08 14:31:51 -03:00
alandefreitas
b6688d9fbb test: cmake tests return integers 2024-10-04 11:32:08 -03:00
alandefreitas
e35ae73ba5 build: tests rely on BUILD_TESTING
When URL was configured with cmake `-D BUILD_TESTING=ON` and then reconfigured with cmake `-D BUILD_TESTING=OFF`, tests would remain enabled. That's because `BUILD_TESTING` was only used once as the default value of `BOOST_URL_BUILD_TESTS` being cached. That's not how all other Boost libraries work.

This commit makes tests rely on `BUILD_TESTING` and, for backwards compatibility, `BOOST_URL_BUILD_TESTS` is only available as an extra option to enable Boost.URL tests even if `BUILD_TESTING` is `OFF`.

fix #805
2023-12-22 12:05:53 -03:00
alandefreitas
84b82b88bb ci: test all Boost workflows
The updated CI workflows include building Boost.URL with the Boost super-project as the project root, with Boost.URL as the project root, building a project that adds the Boost super-project as a subdirectory, a project that adds Boost.URL as a subdirectory, that finds Boost as a package and that finds Boost.URL as a package.

fix #796
2023-12-06 20:03:36 -03:00
Christian Mazakas
392bbfc445 test: invoke methods defined in the DLL
URL's find_package() CMake test doesn't actually invoke any methods defined in the found DLL for Windows platforms with BUILD_SHARED_LIBS.

This PR updates the test to use components of URL with out-of-line definitions which now triggers an expected CI failure.
2023-12-06 20:03:36 -03:00
alandefreitas
fa7b381a1c build: ignore CMAKE_C_COMPILER 2023-06-08 20:58:15 -03:00
alandefreitas
c518dbaa04 simplify CI and CML 2023-04-21 04:36:04 -03:00
alandefreitas
6b1b2f48c3 update cmake subdir dependencies 2022-11-07 11:31:56 -08:00
alandefreitas
f0b29eb876 simplify cmake subdir test 2022-08-05 13:49:35 -07:00
Vinnie Falco
9d2c1e5409 Refactor grammar:
The Rule concept is changed:

* rules are stateful values
* nested value_type holds the result of parsing
* member function `Rule::parse` is the algorithm
* parse returns `result<value_type>`

And:

* All rfc3986 rules are reimplemented
* New grammar non-terminal elements introduced:
  - char_rule
  - not_empty_rule
  - optional_rule
  - sequence_rule
  - variant_rule
2022-07-27 19:31:16 -07:00
alandefreitas
ef2db3c1e5 update CMake test subdirs 2022-07-01 04:37:28 -03:00
alandefreitas
85aa57658f cmake subdir tests
related to #188
2022-06-14 15:50:43 -03:00