Releases
v2.2.1
waruqi
released this
16 Jun 14:08
New features
#158 : Support CUDA Toolkit and Compiler
Add set_tools
and add_tools
apis to change the toolchains for special target
Add builtin rules: mode.debug
, mode.release
, mode.profile
and mode.check
Add is_mode
, is_arch
and is_plat
builtin apis in the custom scripts
Add color256 codes
#160 : Support Qt compilation environment and add qt.console
, qt.application
rules
Add some Qt project templates
#169 : Support yasm for linux, macosx and windows
#159 : Support WDK driver compilation environment
Changes
Add FAQ to the auto-generated xmake.lua
Support android NDK >= r14
Improve warning flags for swiftc
#167 : Improve custom rules
Improve os.files
and os.dirs
api
#171 : Improve build dependence for qt rule
Implement make clean
for generating makefile plugin
Bugs fixed
Fix force to add flags bug
#157 : Fix generate pdb file error if it's output directory does not exists
Fix strip all symbols bug for macho target file
#168 : Fix generate vs201x project bug with x86/x64 architectures
新特性
#158 : 增加对Cuda编译环境的支持
添加set_tools
和add_tools
接口为指定target目标设置编译工具链
添加内建规则:mode.debug
, mode.release
, mode.profile
和mode.check
添加is_mode
, is_arch
和is_plat
内置接口到自定义脚本域
添加color256代码
#160 : 增加对Qt SDK编译环境的跨平台支持,并且增加qt.console
, qt.application
等规则
添加一些Qt工程模板
#169 : 支持yasm汇编器
#159 : 增加对WDK驱动编译环境支持
改进
添加FAQ到自动生成的xmake.lua文件,方便用户快速上手
支持Android NDK >= r14的版本
改进swiftc对warning flags的支持
#167 : 改进自定义规则:rule()
改进os.files
和os.dirs
接口,加速文件模式匹配
#171 : 改进Qt环境的构建依赖
在makefile生成插件中实现make clean
Bugs修复
修复无法通过add_ldflags("xx", "xx", {force = true})
强制设置多个flags的问题
#157 : 修复pdb符号输出目录不存在情况下编译失败问题
修复对macho格式目标strip all符号失效问题
#168 : 修复生成vs201x工程插件,在x64下失败的问题
You can’t perform that action at this time.