bazel-contrib / rules_foreign_cc

Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)
https://bazel-contrib.github.io/rules_foreign_cc
Apache License 2.0
680 stars 249 forks source link

Add support for `/` in rule names #1238

Open fmeum opened 3 months ago

fmeum commented 3 months ago

It can be necessary to have rules with the same basename in the same package, which requires specifying a rule name such as subdir/my_rule. This change adds support for such names to cmake.

Work towards https://github.com/fmeum/with_cfg.bzl/issues/109