xmake v2.3.5 Release Notes
Release Date: 2020-06-28 // almost 4 years ago-
🆕 New features
- ➕ Add
xmake show -l envs
to show all builtin envirnoment variables - 📦 #861: Support search local package file to install remote package
- 👍 #854: Support global proxy settings for curl, wget and git
🔄 Change
- 👍 #828: Support to import sub-directory files for protobuf rules
- #835: Improve mode.minsizerel to add /GL flags for msvc
- 👍 #828: Support multi-level directories for protobuf/import
- #838: Support to override builtin-rules for
add_files("src/*.c", {rules = {"xx", override = true}})
- 📜 #847: Support to parse include deps for rc file
- 👌 Improve msvc tool chain, remove the dependence of global environment variables
- 👍 #857: Improved
set_toolchains()
when cross-compilation is supported, specific target can be switched to host toolchain and compiled at the same time
🐛 Bugs fixed
- 🛠 Fix the progress bug for theme
- 🍎 #829: Fix invalid sysroot path for macOS
- 📦 #832: Fix find_packages bug for the debug mode
新特性
改进
- #828: 针对protobuf规则增加导入子目录proto文件支持
- #835: 改进mode.minsizerel模式,针对msvc增加/GL支持,进一步优化目标程序大小
- #828: protobuf规则支持import多级子目录
- #838: 支持完全重写内置的构建规则,
add_files("src/*.c", {rules = {"xx", override = true}})
- #847: 支持rc文件的头文件依赖解析
- 改进msvc工具链,去除全局环境变量的依赖
- #857: 改进
set_toolchains()
支持交叉编译的时候,特定target可以切换到host工具链同时编译
🐛 Bugs修复
- ➕ Add