All apps/Xmake

Xmake

xmake

A cross-platform build utility based on Lua.

Runs as xmake|macOS, Linux, Windows|xmake.io

Command form

ai-draft · 3 tasks · 10 fields

Build or run project targets. Source: xmake's own task definitions (actions/build and actions/run). Configuration, packages and project creation are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui xmake

xmake build

Build targets

Build the given targets, or all default targets when none are named.

Build targetsExample values, fixed in this page — nothing here reaches a terminal
Basic
Targets
string
Parallel jobs
integer
TasksEach one presets the form for one job
Build
targetsjobs
Rebuild everything
targetsrebuildjobs
ParametersOnly these flags are editable in the form
Targets
string · positional 0 · repeatable
Rebuild
boolean
--rebuild-r
Build all targets
boolean
--all-a
Group
string
--group-g
Parallel jobs
integer
--jobs-j
Dry run
boolean
--dry-run

xmake run

Run a target

Run a project target, optionally passing arguments to it.

Run a targetExample values, fixed in this page — nothing here reaches a terminal
Basic
Target
string
Working directory
directory
TasksEach one presets the form for one job
Run
targetworkdir
ParametersOnly these flags are editable in the form
Target
string · positional 0
Run under debugger
boolean
--debug-d
Run all targets
boolean
--all-a
Working directory
path
--workdir-w
SourcesEvery flag above is checked against these
src
usage = "xmake [task] [options] [targets]", -r, --rebuild Rebuild the target. -a, --all Build all targets. -g, --group Build all targets of the given group. It supports path pattern matching. --dry-run Dry run to build target. -j, --jobs Set the number of parallel compilation jobs. targets (positional) The target names. It will build all default target…
help2026-10-27

raw.githubusercontent.com

src
usage = "xmake run|r [options] [target] [arguments]", -d, --debug Run and debug the given target. -a, --all Run all targets. -w, --workdir Work directory of running targets, default is folder of targetfile target (positional) The target name. It will run all default targets if this parameter is not specified. arguments (positional) The target arguments
help2026-10-27

raw.githubusercontent.com

Before it fills your prompt, Otty checks the installed xmake against its version. A form that does not match your version is not offered.