diff options
| author | ruki <[email protected]> | 2022-01-18 22:31:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-01-18 22:31:41 +0800 |
| commit | 4b80511f28926aa82f4d78c3ae2eac6c1a8ac117 (patch) | |
| tree | fd9d5aa2c1614dbfebbeb4ebcdc9c45149a0c95b /xmake/rules/c++/modules | |
| parent | b86e3b25723812bdf0c20bc1d3d4075d47b57523 (diff) | |
add clang-xx toolchains
Diffstat (limited to 'xmake/rules/c++/modules')
| -rw-r--r-- | xmake/rules/c++/modules/xmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua index c587a3912..12132da54 100644 --- a/xmake/rules/c++/modules/xmake.lua +++ b/xmake/rules/c++/modules/xmake.lua @@ -45,6 +45,7 @@ rule("c++.build.modules") elseif target:has_tool("cxx", "cl") then import("build_modules.msvc").load_parent(target, opt) else + local _, toolname = target:tool("cxx") raise("compiler(%s): does not support c++ module!", toolname) end end @@ -57,6 +58,7 @@ rule("c++.build.modules") elseif target:has_tool("cxx", "cl") then import("build_modules.msvc").build_with_batchjobs(target, batchjobs, sourcebatch, opt) else + local _, toolname = target:tool("cxx") raise("compiler(%s): does not support c++ module!", toolname) end end, {batch = true}) |
