From 4fc4db0777f0c12af374ef0676b610630158e9f2 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 17 Mar 2026 23:26:57 +0800 Subject: add dotnet for linux and macos --- xmake/platforms/bsd/xmake.lua | 2 +- xmake/platforms/linux/xmake.lua | 2 +- xmake/platforms/macosx/xmake.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xmake/platforms/bsd/xmake.lua b/xmake/platforms/bsd/xmake.lua index 3c34e2420..98143d019 100644 --- a/xmake/platforms/bsd/xmake.lua +++ b/xmake/platforms/bsd/xmake.lua @@ -30,7 +30,7 @@ platform("bsd") set_installdir("/usr/local") - set_toolchains("envs", "gcc", "clang", "yasm", "nasm", "fasm", "cuda", "go", "rust", "gfortran", "zig") + set_toolchains("envs", "gcc", "clang", "yasm", "nasm", "fasm", "cuda", "go", "rust", "gfortran", "zig", "dotnet") set_menu { config = diff --git a/xmake/platforms/linux/xmake.lua b/xmake/platforms/linux/xmake.lua index 8b0232241..b411dc4d3 100644 --- a/xmake/platforms/linux/xmake.lua +++ b/xmake/platforms/linux/xmake.lua @@ -36,7 +36,7 @@ platform("linux") -- -- TODO Perhaps we should handle it better, or remove the cross toolchain. set_toolchains("envs", "gcc", "clang", - "cross", "yasm", "nasm", "fasm", "cuda", "go", "rust", "swift", "gfortran", "zig", "fpc", "nim") + "cross", "yasm", "nasm", "fasm", "cuda", "go", "rust", "swift", "gfortran", "zig", "fpc", "nim", "dotnet") set_menu { config = diff --git a/xmake/platforms/macosx/xmake.lua b/xmake/platforms/macosx/xmake.lua index 348c61f55..869d83843 100644 --- a/xmake/platforms/macosx/xmake.lua +++ b/xmake/platforms/macosx/xmake.lua @@ -29,7 +29,7 @@ platform("macosx") set_formats("symbol", "$(name).dSYM") set_installdir("/usr/local") - set_toolchains("envs", "xcode", "clang", "gcc", "yasm", "nasm", "cuda", "rust", "go", "gfortran", "zig", "fpc", "nim") + set_toolchains("envs", "xcode", "clang", "gcc", "yasm", "nasm", "cuda", "rust", "go", "gfortran", "zig", "fpc", "nim", "dotnet") set_menu { config = -- cgit v1.3.1