google/benchmark

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

Open

#1512 aperta il 16 nov 2022

Vedi su GitHub
 (3 commenti) (1 reazione) (0 assegnatari)C++ (1539 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (7968 star)
Metriche merge PR
 (Merge medio 1g 23h) (21 PR mergiate in 30 g)

Descrizione

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.

Guida contributor