Support for extracting/bundling headers in C/C++ #5192
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Rules-CPP
Issues for C++ rules
type: feature request
Description of the problem / feature request:
Getting C/C++ header files for a library built via Bazel.
Feature requests: what underlying problem are you trying to solve with this feature?
When building C/C++ library to be used in a project without Bazel one needs also a set of the header files with the API that the library offers. It would be nice if Bazel could add some support for creation of a bundle of the relevant headers, e.g. as a filegroup.
What operating system are you running Bazel on?
Linux
What's the output of
bazel info release
?release 0.13.0
What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?https://github.com/google/tink
eb6673aff24a09947450d8922702f5f43fa9aaa2
eb6673aff24a09947450d8922702f5f43fa9aaa2
Have you found anything relevant by searching the web?
It seems the only way to do it now is "manually", see e.g. TensorFlow: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/lib_package/BUILD#L57
and tensorflow/tensorflow#3536
The text was updated successfully, but these errors were encountered: