Log In
Log In

Bringing B2-Style Test Granularity to CMake

https://cppalliance.org/alan/2025/07/10/Alan.html

B2‑style granularity is added to Boost’s CMake integration by building the test executable, post‑build extracting test names via a listing flag, generating a .cmake file with individual add_test entries, and including it with TEST_INCLUDE_FILES, enabling separate reporting and selective runs.

Next Post

  • Ready, set, Redis!
    Link #Redis
    Boost.Redis is co‑maintained with an FSM redesign that improves testability, provides UNIX‑socket support, logging and updated docs. Boost.MySQL auth is enhanced, Boost.Postgres is started, OpenMethod and Bloom are reviewed, and test framework is extended.
  • Hub is here
    Link #Bloom
    During Q2 2026 Boost work is summarized: boost::container::hub accepted for Boost 1.92; Boost.Unordered added C++20 range support; Boost.MultiIndex got iterator pointers; Boost.ICL fixed for libc++ v22; Boost.Bloom, Boost.Graph and activities noted.
  • MrDocs Bootstrap: One Script to Build Them All
    Link
    Complex C++ dependency management is explained with version conflicts, ABI issues, and platform toolchain differences. Limitations of package managers are described, and a bootstrap script is presented that automates builds, configuration, and IDE setup across platforms, supporting sanitizers.
  • Speed and Safety
    Link #Decimal
    CUDA support is added to Boost int128 for host and device use. Device from_chars/to_chars are provided by Boost.Charconv, and Boost.Decimal will gain CUDA later. Verification is used by Boost.Safe_Numbers for safety and error check with CUDA reporting.