bazelbuild/bazel

Documentation issue: C++ Use Cases snippet is unix only

Open

#14.520 aperta il 6 gen 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Java (4465 fork)batch import
P3area-Windowshelp wantedteam-Documentationteam-Rules-CPPtype: documentation (cleanup)

Metriche repository

Star
 (25.384 star)
Metriche merge PR
 (Merge medio 22g 20h) (77 PR mergiate in 30 g)

Descrizione

Documentation URL: https://docs.bazel.build/versions/4.2.2/cpp-use-cases.html

Could you ,at least, add a note that your sample are unix (linux ?) only ? e.g.

https://github.com/bazelbuild/bazel/blob/b93543c78e1bfab0479b52fcbd1f14197083a44f/site/docs/cpp-use-cases.md#L150-L154

-I is not supported by msvc aka non GNU-like compilers nor the -pthread option...

I can understand you don't want to bloat the tutorial with conditions and use of select but...

Guida contributor