-
-
Notifications
You must be signed in to change notification settings - Fork 865
Closed
Milestone
Description
Roadmap
- Seperate platform and toolchain
- xmake f -p cross --sdk=xxx [--toolchain=llvm]
- toolchains
- envs ($CC)
- llvm https://releases.llvm.org/
- mingw
- 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/
- sdcc
- vs
- clang
- gcc
- cross
- xcode
- yasm, nasm, fasm
- go, dlang, rust
- cuda
-
toolchain("xxx")
scope description- set_sdkdir
- set_bindir
- set_toolset("cc", "clang", "gcc"), ld, sh, ar, mm, gc, dcld, ...
- add_includedirs
- add_linkdirs
- add_syslinks
- add_ldflags
- add_cxflags ...
- set_arches
- set_formats
- on_load
- on_check
- support custom toolchain in project xmake.lua
- platform()
- set_toolchains
- target()
- set_toolchains("clang", "yasm") to modify the given toolchain configs
- set_toolset("cc", "clang") instead of set_toolchain()
备注:重构工具链,实现平台定义和工具链完全分离,提供更好的工具链扩展性,支持对独立工具链完整快速切换,支持对target的单独工具链配置,支持在xmake.lua自定义工具链,内置支持更多常用交叉编译工具链