google/benchmark

[FR] cc_libraries should use "includes", not "strip_include_prefix"

开放

#1,512 创建于 2022年11月16日

 (3 条评论) (1 个反应) (0 位负责人)C++ (1,539 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (7,968 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

So that when users import google-benchmark, the headers are included as "system headers", instead of regular headers.

If this is not done, compilers will throw warnings at google-benchmark code, which users have no way to act upon. Users should be able to choose a highly restrictive set of warnings without having to fix them in google-benchmark.

Note that this pattern is already applied in the googletest repo.

贡献者指南