Skip to content

LLVM repo layout support #142

@keith

Description

@keith

I'm interested in trying this tool out on the llvm repo, more for managing deps than creating new libraries, but that project uses this source layout:

<dir>/lib/<name>/**/*.{cpp,h}
<dir>/include/<name>/**/*.h

Because of this we place the BUILD files in <dir>/BUILD.bazel and then they have many cc_library targets in them which reference files from both the lib and include subdir (small example lib here.

I tried a few variants of gazelle:cc_group subdirectory but it doesn't look like that does what I need with the single mono-BUILD file. Am I missing the configuration for something like this layout? Otherwise is this something that would be reasonable to support?

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