Skip to content

Multiple project roots #63

Description

@ajdavis

I'm working on a project with some handwritten C++ files and some C++ files that are generated by a code-generation tool. They are both specified in compile_commands.json like:

"file": "a/b/file.cpp"

... but in some cases the file is actually located in:

"generated-files/a/b/file.cpp"

Cquery cannot find the generated files. Is there a way to specify multiple project roots? Then I could have two roots: one is the real top project directory, and the other is the "generated-files" directory.

The cquery emacs integration has this feature, is it possible with this VSCode extension?

Activity

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