Skip to content

docs: add CMake build support - #131

Open
nouscow wants to merge 2 commits into
progschj:masterfrom
nouscow:doc/add-cmake-build
Open

docs: add CMake build support#131
nouscow wants to merge 2 commits into
progschj:masterfrom
nouscow:doc/add-cmake-build

Conversation

@nouscow

@nouscow nouscow commented Jul 31, 2026

Copy link
Copy Markdown

Summary

  • Add CMakeLists.txt for cross-platform CMake-based build
  • Add "Build with CMake" section to README
  • Documents direct g++ compilation as alternative

Motivation

Users (especially beginners) often struggle with manually linking pthread.
A standard CMakeLists.txt with find_package(Threads) makes integration
much easier across Linux, macOS, and Windows.

Files changed

File Change
CMakeLists.txt New — builds example.cpp with C++11 + Threads
README.md Added build instructions
.gitignore Ignore build artifacts and IDE configs

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