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 forxmake.lua
- Add
add_frameworks
api forobjc
andswift
- Support multi-languages extension and add
golang
,dlang
andrust
language - Add optional
target_end
,option_end
,task_end
apis for scope - Add
golang
,dlang
andrust
project templates
Changes
- Support vs2017 for the project plugin
- Improve gcc error and warning tips
- Improve lanuage module
- Improve print interface, support lua print and format output
- Automatically scan project files and generate it for building if xmake.lua not exists
- Modify license to Apache License 2.0
- Remove some binary tools
- Remove install.bat script and provide nsis install package
- Rewrite documents using docute
- Improve
os.run
,os.exec
,os.cp
,os.mv
andos.rm
interfaces and support wildcard pattern - Optimize the output info and add
-q|--quiet
option - Improve makefile generator, uses $(XX) variables for tools and flags
Bugs fixed
- #41: Fix checker bug for windows
- #43: Avoid to generate unnecessary .xmake directory
- Add c++ stl search directories for android
- Fix compile error for rhel 5.10
- Fix
os.iorun
bug
新特性
- 添加
--links
,--linkdirs
and--includedirs
配置参数 - 添加app2ipa插件
- 为
xmake.lua
工程描述增加dictionay语法风格 - 提供智能扫描编译模式,在无任何
xmake.lua
等工程描述文件的情况下,也能直接快速编译 - 为
xmake.lua
工程描述添加set_xmakever
接口,更加友好的处理版本兼容性问题 - 为
objc
和swift
程序添加add_frameworks
接口 - 更加快速方便的多语言扩展支持,增加
golang
,dlang
和rust
程序构建的支持 - 添加
target_end
,option_end
和task_end
等可选api,用于显示结束描述域,进入根域设置,提高可读性 - 添加
golang
,dlang
和rust
工程模板
改进
- 工程生成插件支持vs2017
- 改进gcc/clang编译器警告和错误提示
- 重构代码架构,改进多语言支持,更加方便灵活的扩展语言支持
- 改进print接口,同时支持原生lua print以及格式化打印
- 如果xmake.lua不存在,自动扫描工程代码文件,并且生成xmake.lua进行编译
- 修改license,使用更加宽松的Apache License 2.0
- 移除一些二进制工具文件
- 移除install.bat脚本,提供windows nsis安装包支持
- 使用docute重写文档,提供更加完善的文档支持
- 增强
os.run
,os.exec
,os.cp
,os.mv
和os.rm
等接口,支持通配符模式匹配和批量文件操作 - 精简和优化构建输出信息,添加
-q|--quiet
选项实现静默构建 - 改进
makefile
生成插件,抽取编译工具和编译选项到全局变量