xmake v2.9.5
New features
- #5462: Add
xmake l cli.bisect
- #5488: Support for using cosmocc to build xmake binary
- #5491: Provide single xmake binary with embedded lua files
- #5580: Add
@builtin/xrepo
to add envs forxrepo env shell
Changes
- #5507: Use treeless to improve git.clone
- #5536: Add jar generate in swig mode
- #5573: Improve vsxmake generator performance
- #5601: Improve utils.symbols.export_all rule to filter sourcefile path
Bugs fixed
- #4750: Fix compile_commands generator for
xmake tests
- #5465: Fix lock package requires
- #4760: Fix distcc client issue
新特性
- #5462: 添加
xmake l cli.bisect
- #5488: 支持使用 cosmocc 去构建 xmake 自身二进制
- #5491: 支持提供内嵌 lua 文件的单个 xmake 二进制文件
- #5580: 添加
@builtin/xrepo
辅助模块,为xrepo env shell
实现快速设置环境变量
改进
- #5507: 改进 git clone 下载速度
- #5536: 在 swig 模式中添加 jar 生成支持
- #5573: 改进 vsxmake generator 性能
- #5601: 改进 utils.symbols.export_all 规则去过滤源文件路径
Bugs 修复
- #4750: 修复 compile_commands 生成器,支持
xmake tests
- #5465: 修复 package requires lock
- #4760: 修复 distcc 分布式编译问题
What's Changed
- fixbug: for cases when WindowsSDKVersion variable is not available by @jinke18 in #5411
- fixbug:nsis pack only support ascii path without blank space by @jinke18 in #5414
- improve pch filename for msvc #5413 by @waruqi in #5435
- fix protobuf objectfiles #5426 by @waruqi in #5437
- Don't treat x86_64 as cross on arm64 macOS by @SirLynix in #5442
- add /sdl, /Zc:inline and ExceptionHandling flag support for
xmake project -k vs
by @jinke18 in #5416 - Revert e26ea1c by @SirLynix in #5447
- find libfiles for pacman by @waruqi in #5446
- add clang toolchain version 19 & 20 by @c8ef in #5451
- fix cmake compilers #5448 by @waruqi in #5449
- fix(plugin/project): Generate compile_commands for tests by @24bit-xjkp in #5460
- Add
xmake l cli.bisect
by @waruqi in #5462 - fix lock repo by @waruqi in #5465
- improve to get pkgconf for meson by @waruqi in #5483
- fix packagedeps by @waruqi in #5484
- Support to build xmake using cosmocc by @waruqi in #5488
- improve flags support for cmake by @waruqi in #5487
- Add cosmocc ci by @waruqi in #5489
- fix rpath for #pull/5466 by @waruqi in #5498
- Add cli.archive and .xmz archive format by @waruqi in #5491
- Improve to check and load toolchain by @waruqi in #5466
- use treeless instead of depth1 by @waruqi in #5509
- improve treeless for git.clone by @waruqi in #5510
- Improve invalid path for package by @waruqi in #5511
- fix export_all when use export_filter on arch x86 by @ChrisCatCP in #5512
- fix install dylib for macos app #5515 by @waruqi in #5519
- use ALL_BUILD project build for msvc by @ChrisCatCP in #5523
- improve to run tests by @waruqi in #5522
- try use ninja for mingw by @waruqi in #5521
- fix lock packages #5532 by @waruqi in #5539
- fix windows wasm compilation with packages by @Chi-EEE in #5534
- use tar to extract .tar.gz by @waruqi in #5540
- Support multiple targets for package by @star-hengxing in #5537
- improve linker for package #5542 by @waruqi in #5543
- Fix vulkansdk searching for mingw platform by @yh-sb in #5549
- Add missing Linux platform triples in autoconf tool. by @Redbeanw44602 in #5548
- improve cosmocc for windows by @waruqi in #5553
- add client parameter to rule
utils.glsl2spv
by @milkiq in #5563 - fix requirekey for runtimes #5538 by @waruqi in #5567
- Add runtimes only if the ndk version is low enough by @A2va in #5565
- add build settings for conan by @waruqi in #5569
- improve to select runtimes by @waruqi in #5572
- Improve to copy file by @waruqi in #5570
- add jar generate in swig mode by @ririyeye in #5536
- fix bin path for cmake #5552 by @waruqi in #5579
- Fix cmake find_package on wasm by @star-hengxing in #5578
- add envs for xrepo #5580 by @waruqi in #5582
- improve clang.tidy by @waruqi in #5586
- optimize vsxmake render #5573 by @waruqi in #5588
- update upload-artifact to v4 by @waruqi in #5591
- fix #5589 by @Domain in #5590
- Improve fetch package by @waruqi in #5594
- improve tools.cmake for wasm by @waruqi in #5598
- Improve export all rule by @waruqi in #5608
- add install.strip_packagelibs by @waruqi in #5611
- add xmake bundle binary by @waruqi in #5612
- update lz4 by @waruqi in #5613
- download file using powershell by @waruqi in #5616
New Contributors
- @24bit-xjkp made their first contribution in #5460
- @Redbeanw44602 made their first contribution in #5548
- @milkiq made their first contribution in #5563
Full Changelog: v2.9.4...v2.9.5