google/benchmark
在 GitHub 查看[FR] cc_libraries should use "includes", not "strip_include_prefix"
Open
#1,512 建立於 2022年11月16日
enhancementhelp wanted
倉庫指標
- Star
- (7,968 star)
- PR 合併指標
- (平均合併 4天 2小時) (30 天內合併 19 個 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.