xmake-build-cache

Installation
SKILL.md

Xmake Build Cache (Local & Remote)

Xmake has a built-in compile cache that speeds up rebuilds by reusing object files. Two flavors:

  • Local cache — on by default, per-machine, cross-platform (GCC/Clang/MSVC). Replaces ccache for most users.
  • Remote cache — a shared server that machines can push/pull objects from. Like Mozilla sccache but cross-platform.

Both use the same --ccache name on the CLI — --ccache= is xmake-speak for "C/C++ build cache", not the ccache tool specifically.

1. Local cache (default)

Enabled automatically. No setup required. Since v2.6.6, xmake uses its own built-in local cache; before that it shelled out to the system ccache.

Toggle

xmake f --ccache=n           # disable for this project
xmake f --ccache=y           # re-enable
Installs
4
GitHub Stars
16
First Seen
Apr 29, 2026
xmake-build-cache — xmake-io/xmake-skills