xmake从v2.0开始,全面支持插件模式,我们可以很方便的扩展实现自己的插件,并且xmake也提供了一些内建的使用插件
我们可以执行下 xmake -h 看下当前支持的插件:
Plugins:
l, lua Run the lua script.
m, macro Run the given macro.
doxygen Generate the doxygen document.
继续阅读 »
Links
Homepage
Documents
This version provide safer xmake install and xmake uninstall.
New features
#65: Add set_default api for target to modify default build and install behavior
Allows to run xmake command in project subdirectories, it will find the project root directory automatically
Add add_rpathdirs for tar继续阅读 »
New features
Add --links, --linkdirs and --includedirs configure arguments
Add app2ipa plugin
Add dictionary syntax style for xmake.lua
Provide smart scanning and building mode without xmake.lua
Add set_xmakever api for xmake.lua
Add add_frameworks api for objc and swift
Support multi-languages extension and add golan继续阅读 »
A simplest xmake.lua
```lua
-- define a target with named 'demo'
target("demo")
-- set the target kind, .e.g 'binary' is a console program
-- - static: a static library
-- - shared: a shared library
set_kind("binary")
-- add all c source files in the directory: src
add_files("src/*.c"继续阅读 »
xmake v2.0 has supported the plugin module and we can develop ourself plugin module conveniently.
We can run command xmake -h to look over some builtin plugins of xmake
Plugins:
l, lua Run the lua script.
m, macro Run the given macro.继续阅读 »
Website
Sources
Changelog
New features
Add check includes dependence automatically
Add print colors
Add debugger support, .e.g xmake run -d program ...
Changes
Improve the interfaces of run shell
Upgrade luajit to v2.0.4
Improve to generate makefile plugin
Optimizate the multitasking compiling speed
Bugs fixed
Fi继续阅读 »