From 7a71a6304db940b1478385ad2565d3b00e707e43 Mon Sep 17 00:00:00 2001 From: "F.Tibor" Date: Tue, 30 Jun 2026 10:55:48 +0200 Subject: [PATCH] Add transitive qute includes to compile commands --- src/compile_commands.bzl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/compile_commands.bzl b/src/compile_commands.bzl index 12eb8257..e14f579c 100644 --- a/src/compile_commands.bzl +++ b/src/compile_commands.bzl @@ -130,6 +130,11 @@ def get_compile_flags(ctx, dep): include = "." options.append("-I{}".format(include)) + for quote_include in compilation_context.quote_includes.to_list(): + if len(quote_include) == 0: + quote_include = "." + options.append(QUOTE_INCLUDE + quote_include) + for system_include in compilation_context.system_includes.to_list(): if len(system_include) == 0: system_include = "."