Skip to content

How to export compile_commands.json #1312

@foocoder

Description

@foocoder

Hello,

I am working with the bladedisc project, which uses Bazel for its build system. However, I am not very familiar with Bazel. I followed online tutorials and used the @hedron_compile_commands method to export compile_commands, but I am still experiencing issues with code navigation in some modules, particularly under the tao_compiler directory.

I would like to understand the correct way to export compile_commands for this project. Ideally, I would need a full set of compile_commands that covers both the compiler and runtime. Any guidance or examples on how to achieve this would be greatly appreciated.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions