diff options
| author | Gabin Lefranc <[email protected]> | 2023-09-13 19:57:07 +0200 |
|---|---|---|
| committer | Gabin Lefranc <[email protected]> | 2023-09-13 19:57:07 +0200 |
| commit | e61af464265134482e9f1058b9e60d0e4b14b341 (patch) | |
| tree | fd3d8e97660c4b414976f73696baa098af306edf | |
| parent | d978d57e5a5c1ea55bf328888fa38f7a4a9dad8e (diff) | |
use c++.build.modules.builder instead of c++.build.modules
| -rw-r--r-- | xmake/plugins/project/clang/compile_commands.lua | 2 |
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 |
