Repository navigation
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.automocpolicy - #7725, #7923: Reference external C# assemblies with
add_linksandadd_linkdirs - #7904: Support Verilator
.vltcontrol files - #7910: Add
test.respect_defaultandxmake 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
groupoption inadd_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_packagelibssettings - #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
- extend C C++ tool name compatibility mapping by @damster101 in #7863
- fix ascend toolchain check warning by @damster101 in #7866
- fix: write the root directory of gcc module mappers as $root by @chrisburr in #7870
- update tbox to fix process poller on unix and fix c++modules for clang 21 by @waruqi in #7872
- fix: prepare the same targets as generated in project generators (#7864) by @bakabaka9405 in #7871
- fix gitignore for build directories by @bakabaka9405 in #7874
- fix: find windows sdk host tools by the host architecture by @bakabaka9405 in #7881
- fix touch and mtime by @waruqi in #7879
- fix wget.log in background by @waruqi in #7876
- fix(verilator): Fix the Verilator incremental compilation issue by @24bit-xjkp in #7883
- fix angle header for gcc module by @waruqi in #7882
- default optimize to "smallest" for wasm in release modes by @damster101 in #7887
- do not pass -c to preprocessor in build_cache by @damster101 in #7867
- Fix clang-cl module reuse and implementation scheduling by @L-Sun in #7850
- feat(qml): Add QML AOT support by @24bit-xjkp in #7885
- test(qml): Add qmlcachegen test projects by @24bit-xjkp in #7890
- prefix reduced BMI flags with
/clang:for clang-cl by @damster101 in #7889 - fix(rules/qt): fix target binary not being packaged on Linux in xpack by @Refrain69 in #7892
- Feat: C++ modules support for Emscripten by @lebao3105 in #7895
- fix stale c++ module cache across reconfigurations by @damster101 in #7893
- feat(csharp): support referencing external assemblies via csharp.references by @Omega172 in #7725
- fix(verilator): Fix endless rebuilding when touch the source file by @24bit-xjkp in #7901
- feat(qml): Add qmltc support by @24bit-xjkp in #7900
- feat(verilator): Add verilator control files support by @24bit-xjkp in #7904
- feat(qml): Add qmlaotstats support by @24bit-xjkp in #7903
- fix: respect target-level install.strip_packagelibs policy by @space-axel in #7907
- feat(rules/qt): support AUTOMOC header pairing and prune empty moc builds by @Refrain69 in #7899
- fix c++ module reuse for clang-cl by @damster101 in #7902
- fix(plugins/format): fix file collection, deduplication, and qt rule matching by @Refrain69 in #7909
- Improve to Install pkgs by @waruqi in #7898
- feat(test): support test.respect_default policy and -a/--all by @Refrain69 in #7910
- fix #7858: link has_flags for cross-arch msvc (e.g. arm64 on x64 host) by @bionicbeagle in #7859
- Fix broken package.gif image in README by @farisbasha in #7913
- vsxmake: add LanguageStandard for files by @charlesseizilles in #7912
- update pdcurses by @waruqi in #7920
- fix: generating compile commands break module cache and triggers unnecessary recompiling by @Stehsaer in #7921
- feat(csharp): reference external assemblies via add_links/add_linkdirs by @waruqi in #7923
- fix(rules/qt): support transitive #include scanning in automoc- #7911 by @waruqi in #7924
- fix(vsxmake): resolve project reference keys by target fullname by @lanqing431 in #7926
New Contributors
- @chrisburr made their first contribution in #7870
- @Refrain69 made their first contribution in #7892
- @lebao3105 made their first contribution in #7895
- @Omega172 made their first contribution in #7725
- @farisbasha made their first contribution in #7913
- @lanqing431 made their first contribution in #7926
Full Changelog: v3.1.2...v3.1.3