summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabin Lefranc <[email protected]>2023-09-13 19:57:07 +0200
committerGabin Lefranc <[email protected]>2023-09-13 19:57:07 +0200
commite61af464265134482e9f1058b9e60d0e4b14b341 (patch)
treefd3d8e97660c4b414976f73696baa098af306edf
parentd978d57e5a5c1ea55bf328888fa38f7a4a9dad8e (diff)
use c++.build.modules.builder instead of c++.build.modules
-rw-r--r--xmake/plugins/project/clang/compile_commands.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/clang/compile_commands.lua b/xmake/plugins/project/clang/compile_commands.lua
index 90b80e0b9..b8776955f 100644
--- a/xmake/plugins/project/clang/compile_commands.lua
+++ b/xmake/plugins/project/clang/compile_commands.lua
@@ -38,7 +38,7 @@ end
function _sourcebatch_is_built(sourcebatch)
-- we can only use rulename to filter them because sourcekind may be bound to multiple rules
local rulename = sourcebatch.rulename
- if rulename == "c.build" or rulename == "c++.build" or rulename == "c++.build.modules"
+ if rulename == "c.build" or rulename == "c++.build" or rulename == "c++.build.modules.builder"
or rulename == "asm.build" or rulename == "cuda.build"
or rulename == "objc.build" or rulename == "objc++.build" then
return true