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?
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:
Because of this we place the BUILD files in
<dir>/BUILD.bazeland then they have manycc_librarytargets in them which reference files from both thelibandincludesubdir (small example lib here.I tried a few variants of
gazelle:cc_group subdirectorybut 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?