Skip to content

Modernize CMake packaging and require C++20 - #59

Merged
rigtorp merged 1 commit into
masterfrom
v2/01-cmake
Nov 18, 2026
Merged

rigtorp merged 1 commit into
masterfrom
v2/01-cmake

Conversation

@rigtorp

@rigtorp rigtorp commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

First PR in the MPMCQueue 2.0 stack.

- CMake 3.5 and C++11
+ CMake 3.24 and C++20
- Separate include paths and header install rules
+ One CMake header file set for builds and installs
+ Debug, Release, ASan/UBSan, and TSan presets

Use target-local strict warnings for the example and test. Move the CI matrix
to the shared C++20 workflow with Linux, macOS, and Windows coverage.

Evidence

  • Before master declared cxx_std_11 and had no CMake presets.
  • After Debug and Release each passed MPMCQueueTest from a fresh
    checkout. cmake --install build/release installed the header, target
    export, and package version file.

Merge Danger

Door Two-way. A revert restores the previous build requirements.

Blast radius Consumers who build from the branch need a C++20 compiler
and, when using CMake, version 3.24 or newer.

@rigtorp
rigtorp merged commit d4351c3 into master Nov 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant