Roadmap - [x] Seperate platform and toolchain - xmake f -p cross --sdk=xxx [--toolchain=llvm] - [ ] toolchains - [x] envs ($CC) - [x] llvm https://releases.llvm.org/ - [x] mingw - [x] gnu-rm https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads# - [ ] Crosstool NG https://crosstool-ng.github.io/ - [x] sdcc - [x] vs - [x] clang - [x] gcc - [x] cross - [x] xcode - [x] yasm, nasm, fasm - [x] go, dlang, rust - [x] cuda - [x] `toolchain("xxx")` scope description - [x] set_sdkdir - [x] set_bindir - [x] set_toolset("cc", "clang", "gcc"), ld, sh, ar, mm, gc, dcld, ... - [x] add_includedirs - [x] add_linkdirs - [x] add_syslinks - [x] add_ldflags - [x] add_cxflags ... - [x] set_arches - [x] set_formats - [x] on_load - [x] on_check - [x] support custom toolchain in project xmake.lua - [x] platform() - [x] set_toolchains - [x] target() - [x] set_toolchains("clang", "yasm") to modify the given toolchain configs - [x] set_toolset("cc", "clang") instead of set_toolchain() 备注:重构工具链,实现平台定义和工具链完全分离,提供更好的工具链扩展性,支持对独立工具链完整快速切换,支持对target的单独工具链配置,支持在xmake.lua自定义工具链,内置支持更多常用交叉编译工具链
Roadmap
toolchain("xxx")scope description备注:重构工具链,实现平台定义和工具链完全分离,提供更好的工具链扩展性,支持对独立工具链完整快速切换,支持对target的单独工具链配置,支持在xmake.lua自定义工具链,内置支持更多常用交叉编译工具链