Skip to content

cpp

Context skill for modern C++ projects built with CMake 3.25+ and Conan 2.x.

Requirements

  • CMake 3.25+ — build system generator
  • Conan 2.x — C++ package manager (pip install conan)
  • A C++17-capable compiler (GCC 9+, Clang 10+, or MSVC 19.26+)

Philosophy

Every project is driven by CMakePresets.json; neither developers nor CI invoke raw cmake -D flags. Conan uses checked-in profiles/<os>-<arch> files with CMakeToolchain and CMakeDeps generators so CMakeLists.txt stays standard find_package. Public headers live under include/<name>/ and targets are always linked by namespaced alias (acme::acme), never by bare linker flags. Compiler warnings are attached to a private INTERFACE target so they never leak to consumers.

Recipes

References

Released under the MIT License.