Make target_compatible_with available also for cc_import
See original GitHub issueDescription of the problem / feature request:
target_compatible_with is not available for cc_import
Feature requests: what underlying problem are you trying to solve with this feature?
The same logic that one would like to apply to a cc_library applies to a cc_import
What’s the output of bazel info release
?
Build label: 4.0.0rc7
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Importing and Exporting Guide — CMake 3.25.1 Documentation
Introduction¶. In this guide, we will present the concept of IMPORTED targets and demonstrate how to import existing executable or library files from...
Read more >cmake - Getting imported targets through `find_package`?
Imported targets are created for each Qt module. Imported target names should be preferred instead of using a variable like Qt5<Module> ...
Read more >MSBuild .targets Files - Microsoft Learn
Learn about the MSBuild .targets files that contain items, properties, targets, and tasks for common scenarios.
Read more >Import Task - Apache Ant
The target from docsbuild.xml is made available by the name builddocs.docs . ... Since Ant 1.8.0, the task can also import resources from...
Read more >GNU make
It lists the other files that the targets depend on, called the prerequisites of the target, and may also give a recipe to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Apologies, I forgot to link the final commit here. It was https://github.com/bazelbuild/bazel/commit/9868455f017ddf00eaef02cb52551b45212d4136.
FYI I’m giving a go at that TODO: https://bazel-review.googlesource.com/c/bazel/+/151410