xmake Command Examples

A cross-platform C & C++ build utility based on Lua. More information: https://xmake.io/#/getting_started.

xmake create {{[-l|--language]}} {{[c|clean]}} {{[-P|--project]}} {{project_name}}

xmake {{[b|build]}} {{[r|run]}}

xmake {{[r|run]}} {{target_name}}

xmake {{[f|config]}} {{[-p |--plat=]}}{{macosx|linux|iphoneos|...}} {{[-a |--arch=]}}{{x86_64|i386|arm64|...}} {{[-m |--mode=]}}{{debug|release}}

xmake {{[i|install]}} {{[-o |--installdir=]}}{{path/to/directory}}