xmake-basics
Installation
SKILL.md
Xmake Basics
Xmake is a cross-platform build utility based on Lua. A project is driven by a single xmake.lua file at the repository root.
Installation
- macOS:
brew install xmake - Linux:
curl -fsSL https://xmake.io/shget.text | bash - Windows: download the installer from https://xmake.io or
scoop install xmake
Verify with xmake --version.
Creating a project
xmake create -l c++ -P hello # C++ console app
xmake create -l c -t static hello # C static library