Skip to content

Use .clangd configuration #118

Open
Open

Description

@naseer-nv

Sometimes compile commands need to be adjusted if we are cross compiling. Clangd handles this by adding/removing flags in .clangd in the project or in a global config.yaml file. More details here
Filing this bug to see if codebrowser can also use the same extra config when processing the compile_commands.json

Activity

  1. Waqar144 commented on Nov 17, 2023

    @Waqar144
    Collaborator

    Atm there is no such feature.

    But its trivial to post-process a compile_commands.json file and add what you need before triggering generation.

  2. naseer-nv commented on Nov 17, 2023

    @naseer-nv
    Author

    Yes - it is straightforward to do so - just a minor feature request :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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