Skip to content

xmake v3.1.3

Latest

Choose a tag to compare

@waruqi waruqi released this 02 Dec 14:48
· 1 commit to dev since this release

New features

  • #7885: Support QML AOT compilation with qmlcachegen
  • #7900: Support the QML type compiler qmltc
  • #7903: Support QML AOT statistics with qmlaotstats
  • #7899: Add Qt automoc with the build.qt.automoc policy
  • #7725, #7923: Reference external C# assemblies with add_links and add_linkdirs
  • #7904: Support Verilator .vlt control files
  • #7910: Add test.respect_default and xmake test --all
  • #7912: Support per-file C/C++ language standards in vsxmake projects

Changes

  • #7898: Schedule package installation with job graphs and exclusive fence jobs
  • #7898: Deprecate and ignore the group option in add_requires
  • #7879: Preserve subsecond file timestamps and serialized floating-point precision
  • #7887: Optimize WebAssembly release builds for size by default
  • #7867: Reuse Clang flag handling for Emscripten
  • #7863: Expand C/C++ compiler name compatibility mappings
  • #7866: Avoid warnings for unavailable automatic Ascend C toolchain candidates
  • #7890: Add QML module examples and regression tests
  • #7874: Correct build-directory ignore rules
  • #7913: Fix package-management demo images in the README

Bugs fixed

  • #7870: Fix root-directory entries in GCC module mapper files
  • #7882: Fix nested GCC header units and relative include paths
  • #7850, #7902: Fix clang-cl module reuse and implementation-unit scheduling
  • #7889: Fix reduced-BMI flag forwarding for clang-cl
  • #7893: Invalidate stale C++ module caches after reconfiguration
  • #7895: Fix Emscripten compiler detection for C++ modules
  • #7871: Include non-default targets when generating compilation databases
  • #7921: Avoid GCC module rebuilds after generating compilation databases
  • #7872: Preserve language standards in Clang fallback module scanning
  • #7872: Fix missing libc++ ABI symbols when linking on Linux
  • #7872: Fix Unix child-process polling in the bundled tbox
  • #7881: Select Windows SDK tools by host architecture
  • #7859: Fix MSVC linker flag probes when cross-compiling to ARM64
  • #7898: Fix hangs after dependency or serial-package installation failures
  • #7876: Prevent background host probes from creating wget log files
  • #7883, #7901: Fix repeated Verilator rebuilds during incremental compilation
  • #7892: Include Qt executables in Linux xpack packages
  • #7907: Honor target-level install.strip_packagelibs settings
  • #7909: Fix format file selection, deduplication and Qt rule matching
  • #7924: Detect transitively included headers in Qt automoc
  • #7926: Fix vsxmake project references to namespaced targets
  • #7920: Fix PDCurses compilation with newer MSVC toolchains

新特性

  • #7885: 支持通过 qmlcachegen 进行 QML AOT 编译
  • #7900: 支持 QML 类型编译器 qmltc
  • #7903: 支持通过 qmlaotstats 生成 QML AOT 统计
  • #7899: 添加 build.qt.automoc 策略,支持自动检测 Qt moc 头文件
  • #7725, #7923: 支持通过 add_links 和 add_linkdirs 引用外部 C# 程序集
  • #7904: 支持 Verilator 的 .vlt 控制文件
  • #7910: 添加 test.respect_default 策略和 xmake test --all
  • #7912: 支持在 vsxmake 工程中设置文件级 C/C++ 语言标准

改进

  • #7898: 使用任务图调度包安装,通过 fence 任务保持串行安装约束
  • #7898: 废弃并忽略 add_requires 的 group 配置
  • #7879: 保留文件时间戳的亚秒精度及浮点数序列化精度
  • #7887: WebAssembly 的 release 模式默认优先优化体积
  • #7867: 为 Emscripten 复用 Clang 编译参数处理
  • #7863: 扩展 C/C++ 编译器名称的兼容映射
  • #7866: 避免自动探测不可用的 Ascend C 工具链时输出警告
  • #7890: 添加 QML 模块示例和回归测试
  • #7874: 修正构建目录的 Git 忽略规则
  • #7913: 修复 README 中的包管理演示图片

Bug 修复

  • #7870: 修复 GCC 模块 mapper 文件中的根目录配置
  • #7882: 修复 GCC 子目录头文件单元及相对包含路径
  • #7850, #7902: 修复 clang-cl 模块复用及实现单元的构建调度
  • #7889: 修复 clang-cl 的 reduced BMI 参数传递
  • #7893: 重新配置时清理失效的 C++ 模块缓存
  • #7895: 修复 C++ 模块对 Emscripten 编译器的识别
  • #7871: 生成编译数据库时包含非默认构建目标
  • #7921: 避免生成编译数据库后无效重编 GCC 模块
  • #7872: 保留 Clang 模块回退扫描所需的语言标准
  • #7872: 修复 Linux 下链接 libc++ 时缺失 ABI 符号的问题
  • #7872: 更新内置 tbox,修复 Unix 子进程轮询
  • #7881: 按主机架构选择 Windows SDK 工具
  • #7859: 修复 MSVC 交叉编译到 ARM64 时的链接参数检测
  • #7898: 修复依赖包或串行包安装失败后卡死的问题
  • #7876: 避免后台主机探测生成 wget 日志文件
  • #7883, #7901: 修复 Verilator 增量编译时反复重建的问题
  • #7892: 修复 Linux 下 xpack 打包遗漏 Qt 可执行文件的问题
  • #7907: 正确应用目标级 install.strip_packagelibs 配置
  • #7909: 修复格式化插件的文件收集、去重和 Qt 规则匹配
  • #7924: 修复 Qt automoc 对间接包含头文件的检测
  • #7926: 修复 vsxmake 对命名空间目标的工程引用
  • #7920: 更新内置 PDCurses,修复新版 MSVC 下的编译错误

What's Changed

New Contributors

Full Changelog: v3.1.2...v3.1.3