Note: This documents is only a mirror, if you want to see newest documents please goto: http://xmake.io/#/manual
The interface is named according to some of the predefined specifications, which is more convenient to understand and easy to use.
It’s according to the following rules:
Interfaces | Description |
---|---|
is_ + xxx |
Condition interfaces |
set_ + xxx |
Set and override the previous settings |
add_ + xxx |
Set and append settings |
s + xxx |
Support multi-parameters, .e.g:add_files("*.c", "test.cpp") |
on_ + xxx |
Set and override builtin script |
before_ + xxx |
Set and run this script before running builtin-script |
after_ + xxx |
Set and run this script after running builtin-script |
scope("name") |
Define a description scope, .e.g target("xxx") , option("xxx") |
scope/settings | Indentation with spaces |
Note: This documents is only a mirror, if you want to see newest documents please goto: http://xmake.io/#/home/
xmake is a cross-platform build utility based on lua.
The project focuses on making development and building easier and provides many features (.e.g package, install, plugin, macro, action, option, task …), so that any developer can quickly pick it up and enjoy the productivity boost when developing and building project.
bash <(curl -fsSL https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh)
bash <(wget https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh -O -)
Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content
$ brew install xmake
On Archlinux:
$ yaourt xmake