New features
- Add powershell theme for powershell terminal
- Add
xmake --dry-run -v
to dry run building target and only show verbose build command. - #712: Add sdcc platform and support sdcc compiler
Change
- #589: Improve and optimize build speed, supports parallel compilation and linking across targets
- Improve the ninja/cmake generator
- #728: Improve os.cp to support reserve source directory structure
- #732: Improve find_package to support
homebrew/cmake
pacakges - #695: Improve android abi
Bugs fixed
- Fix the link errors output issues for msvc
- #718: Fix download cache bug for package
- #722: Fix invalid package deps
- #719: Fix process exit bug
- #720: Fix compile_commands generator
新特性
- 添加powershell色彩主题用于powershell终端下背景色显示
- 添加
xmake --dry-run -v
命令去空运行构建,仅仅为了查看详细的构建命令 - #712: 添加sdcc平台,并且支持sdcc编译器
改进
- #589: 改进优化构建速度,支持跨目标间并行编译和link,编译速度和ninja基本持平
- 改进ninja/cmake工程文件生成器插件
- #728: 改进os.cp支持保留源目录结构层级的递归复制
- #732: 改进find_package支持查找homebrew/cmake安装的包
- #695: 改进采用android ndk最新的abi命名
Bugs修复
- 修复windows下link error显示问题
- #718: 修复依赖包下载在多镜像时一定概率缓存失效问题
- #722: 修复无效的包依赖导致安装死循环问题
- #719: 修复windows下主进程收到ctrlc后,.bat子进程没能立即退出的问题
- #720: 修复compile_commands生成器的路径转义问题
Multi-task parallel compilation
buildsystem | Termux (8core/-j12) | buildsystem | MacOS (8core/-j12) |
---|---|---|---|
xmake | 24.890s | xmake | 12.264s |
ninja | 25.682s | ninja | 11.327s |
cmake(gen+make) | 5.416s+28.473s | cmake(gen+make) | 1.203s+14.030s |
cmake(gen+ninja) | 4.458s+24.842s | cmake(gen+ninja) | 0.988s+11.644s |
Single task compilation
buildsystem | Termux (-j1) | buildsystem | MacOS (-j1) |
---|---|---|---|
xmake | 1m57.707s | xmake | 39.937s |
ninja | 1m52.845s | ninja | 38.995s |
cmake(gen+make) | 5.416s+2m10.539s | cmake(gen+make) | 1.203s+41.737s |
cmake(gen+ninja) | 4.458s+1m54.868s | cmake(gen+ninja) | 0.988s+38.022s |