xmake-rules

Installation
SKILL.md

Xmake Rules

Rules are reusable bundles of build logic. You apply them with add_rules(...) at project or target scope, or define your own with rule(...).

Common built-in rules

Build modes (at project scope):

add_rules("mode.debug", "mode.release", "mode.releasedbg", "mode.minsizerel")

This enables xmake f -m debug|release|... and sets the corresponding flags.

Target-level built-ins:

Installs
4
GitHub Stars
16
First Seen
Apr 29, 2026
xmake-rules — xmake-io/xmake-skills