mise-cpp-cmake-ninja-ccache

Configures mise.toml, Ninja ccache, and CMake presets for C++ builds.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This solution reduces build times for C++ projects by parallelizing and caching the build steps using cmake, ninja, and ccache, eliminating rebuilds and long compile times.

Core Features & Use Cases

  • Ninja-enabled builds: selects Ninja as the build generator for faster compilation.
  • ccache integration: enables per-project cache to speed up repeated compilations.
  • mise.toml wiring: configures environment variables and presets to standardize builds in local and CI.

Quick Start

Configure mise.toml to enable Ninja, ccache, and CMake presets, then run your build.

Frequently Asked Questions about mise-cpp-cmake-ninja-ccache

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

FAQPage Schema
How do I speed up C++ builds using cmake and ccache?

Yes, you can configure ccache per-project by defining specific CCACHE settings within your mise.toml file. This standardizes your build environment variables and ensures consistent cache behavior across both local and CI environments.

Does cmake preset support work with Ninja and mise.toml?

Yes, cmake preset support works with Ninja and mise.toml. You can configure your environment variables and build presets in mise.toml to standardize configurations and ensure Ninja is selected as the build generator for faster compilation.

What is the best way to standardize C++ build configurations in local and CI environments?

The best way to standardize C++ builds is by wiring mise.toml with cmake presets, Ninja, and ccache. This approach enforces consistent environment variables and per-project caches, reducing build times and eliminating configuration drift.

Why should I use Ninja as the cmake generator for C++ projects?

You should use Ninja as the cmake generator because it enables faster compilation through efficient parallelization of build steps. Combined with ccache, it skips redundant rebuilds and drastically cuts down local and CI build times.