summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/builder.lua
diff options
context:
space:
mode:
authorstar9029 <[email protected]>2025-03-01 16:10:36 +0800
committerstar9029 <[email protected]>2025-03-01 16:10:36 +0800
commit7891b045d299686fe743bcdd3aea90eb85c2ce87 (patch)
tree55563c07c1503d215ac6923c4cc338e7694dd3fe /xmake/rules/c++/modules/modules_support/builder.lua
parenta3556e3de438a2e874bf80914c955b822c425562 (diff)
Support msstl modules for clang
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/builder.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/builder.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/builder.lua b/xmake/rules/c++/modules/modules_support/builder.lua
index 60e1112d8..a71e2c392 100644
--- a/xmake/rules/c++/modules/modules_support/builder.lua
+++ b/xmake/rules/c++/modules/modules_support/builder.lua
@@ -235,7 +235,7 @@ function _builder(target)
local cachekey = tostring(target)
local builder = compiler_support.memcache():get2("builder", cachekey)
if builder == nil then
- if target:has_tool("cxx", "clang", "clangxx") then
+ if target:has_tool("cxx", "clang", "clangxx", "clang_cl") then
builder = import("clang.builder", {anonymous = true})
elseif target:has_tool("cxx", "gcc", "gxx") then
builder = import("gcc.builder", {anonymous = true})