bazelbuild/bazel

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

Open

#14.520 geöffnet am 6. Jan. 2022

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (4.465 Forks)batch import
P3area-Windowshelp wantedteam-Documentationteam-Rules-CPPtype: documentation (cleanup)

Repository-Metriken

Stars
 (25.384 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 22T 20h) (77 gemergte PRs in 30 T)

Beschreibung

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...

Contributor Guide