diff options
| author | ruki <[email protected]> | 2024-08-12 22:37:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-12 22:37:53 +0800 |
| commit | 1288ac7075a8589df677880d1befe3ebc83856a1 (patch) | |
| tree | 6779a28ab0a59ada9fd61f084e1dc404d7573306 | |
| parent | 5d2ddd6a06df3e856d8e3c984728f301dbfa4f40 (diff) | |
Update compile_commands.lua
| -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 45ef1c4fe..fa32ea7ca 100644 --- a/xmake/plugins/project/clang/compile_commands.lua +++ b/xmake/plugins/project/clang/compile_commands.lua @@ -296,7 +296,7 @@ function _add_targets(jsonfile) end end -- https://github.com/xmake-io/xmake/issues/4750 - for _, test in pairs(test_action.get_tests_table()) do + for _, test in pairs(test_action.get_tests()) do local target = test.target if not target:is_phony() then _add_target(jsonfile, target) |
