bazelbuild/bazel

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

Open

#14,520 创建于 2022年1月6日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Java (4,465 fork)batch import
P3area-Windowshelp wantedteam-Documentationteam-Rules-CPPtype: documentation (cleanup)

仓库指标

Star
 (25,384 star)
PR 合并指标
 (平均合并 22天 20小时) (30 天内合并 77 个 PR)

描述

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

贡献者指南