mise-cookbook-cpp-cmake

Automate C++ project setup with mise, CMake, and Ninja.

1|1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ray-manaloto/claude-code-marketplace --skill mise-cookbook-cpp-cmake
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mise-cookbook-cpp-cmake
Source: https://github.com/ray-manaloto/claude-code-marketplace/tree/main/mise-toolkit/skills/mise-cookbook-cpp-cmake
Command: npx skills add https://github.com/ray-manaloto/claude-code-marketplace --skill mise-cookbook-cpp-cmake

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

End-to-end recipe for bootstrapping a modern C++ project managed by mise, covering toolchain setup, reproducible configurations, and a guided first-run walkthrough.

Core Features & Use Cases

  • Complete setup: cmake + ninja + ccache + mold linker + clang-tools + optional conan package manager, with full CMakePresets.json and mise.toml tasks.
  • Reproducible workflows: single-source of truth for project configuration and deterministic builds across macOS and Linux.
  • Onboarding and migration: suitable for starting new projects or modernizing existing ones under a unified toolchain.

Quick Start

Clone the cookbook repository, install mise, and follow the first-run walkthrough to configure, build, and test the sample project.

Frequently Asked Questions about mise-cookbook-cpp-cmake

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a modern C++ project with mise and CMake?

Set up a modern C++ project with mise by configuring a complete toolchain including CMake, Ninja, and clang-tools. Use CMakePresets.json and mise.toml as a single source of truth for reproducible builds across Linux and macOS.

What is the best way to configure a reproducible C++ build toolchain with mise?

The best way to configure a reproducible C++ build toolchain with mise is to define your environment and tasks in mise.toml alongside CMakePresets.json, ensuring deterministic builds across macOS and Linux.

Does this C++ mise cookbook support migrating existing projects to a new build system?

Yes, this C++ mise cookbook supports migrating existing projects by applying a unified toolchain setup covering CMake, Ninja, ccache, and clang-tools to modernize builds without starting from scratch.

Do I need CMake 3.28 and Ninja to use this mise C++ cookbook?

Yes, you need a compatible toolchain including CMake 3.28+, Ninja, and clang-tools installed, along with mise, to apply the CMakePresets.json and mise.toml configurations defined in this cookbook.

Can I use the Conan package manager with a mise-managed C++ build system?

Yes, you can use the Conan package manager with a mise-managed C++ build system. The cookbook includes optional Conan integration alongside CMake, Ninja, ccache, and the mold linker configurations.

Why use mise.toml and CMakePresets.json for C++ builds?

Use mise.toml and CMakePresets.json for C++ builds to create a single-source of truth for project configuration, enabling deterministic builds and reproducible workflows across different operating systems.