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. 继续阅读 »
2017-04-02 ruki
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 继续阅读 »
2016-10-30 ruki
新特性 为解释器作用域增加一些内建模块支持 针对windows x64平台,支持ml64汇编器 改进 增强ipairs和pairs接口,支持过滤器模式,简化脚本代码 为vs201x工程生成增加文件filter 移除core/tools目录以及msys工具链,在windows上使用xmake自编译core源码进行安装,优化xmake源码磁盘空间 移除xmake/packages,默认模板安装不再内置二进制packages,暂时需要手动放置,以后再做成自动包依赖下载编译 Bugs修复 修复msvc的编译选项不支持问题:-def:xxx.def 修复ml.exe汇编器脚本 修复选项链接顺序问题 继续阅读 »
2017-03-04 ruki
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 继续阅读 »
2016-07-07 ruki
xmake通过import接口,可以在自定义脚本中导入各种内置类库和扩展类库模块,使得xmake的插件开发具有更多的灵活性,提供更丰富的功能。 我们先看下,目前xmake提供的一些类库: . ├── _g.lua ├── assert.lua ├── catch.lua ├── coroutine.lua ├── debug.lua ├── finally.lua ├── format.lua ├── ifelse.lua ├── import │   └── core │   ├── base │   │  继续阅读 »
2016-06-26 ruki
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" 继续阅读 »
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-07-29 ruki
最近有很多用户反馈xmake在windows上编译体验不是很好,不方便进行调试和开发。。 其实xmake的定位主要还是以直接编译为主,提供跨平台的编译和部署,不依赖第三方IDE工程,不过目前确实在windows的体验还不是很好 尽管我已经优化了在windows下的编译速度,并且提供了xmake run -d xxxx方式,直接加载调试器进行源码调试 但是毕竟整体开发上,没有IDE的支持,对于习惯IDE开发的用户来讲,就不是那么友好了。(虽然我个人觉得用编辑器+printf的方式已经够用了) 因此我下一步计划(原本打算先做好包管理的),打算优先开始支持对Visual Stdio工程文件的生成,到时候会通过project插件的方 继续阅读 »
2016-07-17 ruki
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 继续阅读 »
2016-11-09 ruki
最近在做ios app的企业测试包,需要频繁打包分发给测试,因此将编译完的.app打包成ipa单独分发出去,这里调研下几种打包方案: 直接通过iTunes来打包 调用zip写个打包脚本 使用第三方脚本和工具 为了方便日常ios app打包程ipa,觉得可以把这个脚本放到xmake中去,作为一个小插件提供,也是个不错的方式。 因此顺手在xmake里面加了这么一个ipa to app的小插件,进行快速打包,使用方式如下: bash $ xmake app2ipa --icon=Icon.png /xxx/xxx.app icon参数指定的是app的主图标,用作iTunesArtwork,目前还不能自动设置,需要手动指定哦。。 继续阅读 »