bazelbuild/bazel

Documentation issue: C / C Rules -- I cannot parse meaning from `include_prefix`

已关闭

#12,043 创建于 2020年9月3日

 (2 条评论) (0 个反应) (0 位负责人)Java (4,465 个派生)batch import
P3help wantedteam-Documentationteam-Rules-CPPtype: documentation (cleanup)

仓库指标

星标
 (25,384 个星标)
PR 合并指标
 (平均合并 22天 20小时) (30 天内合并 77 个 PR)

描述

Documentation URL: https://docs.bazel.build/versions/master/be/c-cpp.html

From the documentation for include_prefix:

When set, the headers in the hdrs attribute of this rule are accessible at is the value of this attribute prepended to their repository-relative path.

I have read this sentence over and over again, but it mystifies me -- my brain gives up at "at is the value." I would offer a way to rephrase it to be less perplexing, but unfortunately I don't understand how include_prefix works because I can't understand the documentation for it. I'm stuck in a bit of a loop on this one.

贡献者指南