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

    新特性

    • 添加xmake show -l envs去显示xmake内置的环境变量列表
    • #861: 支持从指定目录搜索本地包去直接安装远程依赖包
    • #854: 针对wget, curl和git支持全局代理设置

    改进

    • #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修复

    • 修复进度字符显示
    • 🍎 #829: 修复由于macOS大小写不敏感系统导致的sysroot无效路径问题
    • 📦 #832: 修复find_packages在debug模式下找不到的问题