Recently, xmake's description syntax has been enhanced to support two different grammar styles at the same time.
The set-add style
The key-val style
The set-add style
This is xmake's classic style, for example:
lua
target("test")
set_kind("static")
add_defines("DEBUG")
add_files("src/*.c", "test/*.cpp")
继续阅读 »
This release provide user custom menu config, like make menuconfig for linux:
If you want to known more usage, please see online documents。
Source code: Github, Gitee.
New features
Add del_files() api to delete files in the files list
Add rule(), add_rules() api to implement the custom build rule and improve add_继续阅读 »
We recently added a new feature for xmake:
you need not write any make-like file (xmake.lua, makefile.am, cmakelist.txt, etc.) and also build it directly.
It will scan all source files and generate xmake.lua automatically for building project.
And xmake will detect 'main' function in source file in order to distin继续阅读 »
content
{:toc}
注:此处为镜像文档,最新在线文档请看:http://xmake.io/#/zh/plugins
插件开发
简介
XMake完全支持插件模式,我们可以很方便的扩展实现自己的插件,并且xmake也提供了一些内建的使用插件。
我们可以执行下 xmake -h 看下当前支持的插件:
Plugins:
l, lua Run the lua script.
m, macro Run the given macro.
doxygen 继续阅读 »