2013-01-10 Klaus Ma
Code slice #define debug(fmt,...) do { \ fprintf(stderr,"[ DEBUG ] : [ %s, %d ] ",__FILE__,__LINE__); \ fprintf(stderr,fmt,##__VA_ARGS__); \ fprintf(stderr,"\n"); \ } while(0) 继续阅读 »
2016-06-09 ruki
xmake提供了一些比较实用的内置宏脚本,比如 批量打包宏脚本 xmake macro package 这个宏脚本可以批量打包指定平台的所有架构,例如: ```bash # 批量打包当前平台的所有架构 xmake macro package # 批量打包iphoneos平台的所有架构 xmake macro package -p iphoneos # 批量打包iphoneos平台的所有架构,并且传入"-m debug"给 `xmake config` 进行打包debug版本,包输出到/tmp/output目录 xmake macro package -p iphoneos -f "-m debug" -o 继续阅读 »
2016-07-08 ruki
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. 继续阅读 »
2016-06-09 ruki
Sources Changelog New features Add task api for running custom tasks Add plugin expansion and provide some builtin plugins Add export ide project plugin(.e.g makefile and will support to export other projects for vs, xcode in feature) Add demo plugin for printing 'hello xmake' Add make doxygen documents plugin Add m 继续阅读 »
2016-06-09 ruki
xmake 提供了一些内置的比较实用的插件,其中宏脚本插件是最具有代表性和实用性的,也是xmake比较推荐的一款插件,那它有哪些使用功能呢? 我们先来看下:xmake macro --help ``` Usage: xmake macro|m [options] [name] [arguments] 继续阅读 »
2016-06-09 ruki
xmake从v2.0开始,全面支持插件模式,我们可以很方便的扩展实现自己的插件,并且xmake也提供了一些内建的使用插件 我们可以执行下 xmake -h 看下当前支持的插件: Plugins: l, lua Run the lua script. m, macro Run the given macro. doxygen Generate the doxygen document. 继续阅读 »
2000-02-22 ruki
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 继续阅读 »
2016-12-07 ruki
Stackless introduction Stackfull introduction More coroutine examples New features Support coroutine context switch for mips Add __tb_thread_local__ keyword macro Add --micro=y|n option to compiling micro library (~64K) for the embed system Add tb_addrinfo_addr and tb_addrinfo_name interfaces Add stackless coroutine A 继续阅读 »
2016-01-06 刘太华
# saltstack DSL 用salt很多人都在用,我们也在用,用的还算较多,现在所有服务,自定义服务,常用系统服务,包安装,git库更新等都进入salt管理了 salt默认采用的是yaml jinja模版做sls的语法渲染,可以自定义macro, 可在pillar里根据每个minion不同来定义不同的lib,然而这些都不是今天的重点 继续阅读 »
2017-10-13 ruki
此版本主要修复一些稳定性问题,并且对一些细节进行改进优化,并且提供xmake-vscode插件深度集成vscode编辑器环境。 更多使用说明,请阅读:文档手册。 项目源码:Github, Gitee. 新特性 添加add_imports去为target,option和package的自定义脚本批量导入模块,简化自定义脚本 添加xmake -y/--yes去确认用户输入 添加xmake l package.manager.install xxx模块,进行跨平台一致性安装软件包 添加vscode编辑器插件支持,更加方便的使用xmake,xmake-vscode 添加xmake macro ..快速运行最近一次命令 改进 改进c 继续阅读 »