aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/windows.md
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2018-06-10 23:24:26 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-10 23:25:38 -0700
commita7e0c75cc758438e247943dd47cd2a38a689cb7d (patch)
tree0cc98edf88cefb8ea40cb02cf09f578030b5fe6a /site/docs/windows.md
parent52175bd0160076ae45a8d6927964827ef09f7752 (diff)
docs,windows: emphasize that BAZEL_VS != BAZEL_VC
Fixes https://github.com/bazelbuild/bazel/issues/5272 Change-Id: Ia49c084f1fe036ff0e5b18fea096f31642cf8b5b Closes #5280. Change-Id: Ia49c084f1fe036ff0e5b18fea096f31642cf8b5b PiperOrigin-RevId: 200005785
Diffstat (limited to 'site/docs/windows.md')
-rw-r--r--site/docs/windows.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/site/docs/windows.md b/site/docs/windows.md
index 6a9f1598a9..7cac379ade 100644
--- a/site/docs/windows.md
+++ b/site/docs/windows.md
@@ -39,8 +39,8 @@ Python and the Visual C++ compiler. If you need to auto-configure again, run
You can also tell Bazel where to find the Python binary and the C++ compiler:
- use the [`--python_path=c:\path\to\python.exe`](command-line-reference.html#flag--python_path) flag for Python
-- use the `BAZEL_VC` or `BAZEL_VS` environment variable. See the [Build
- C++ section](#build_cpp) below.
+- use the `BAZEL_VC` or the `BAZEL_VS` environment variable (they are *not* the same!).
+ See the [Build C++ section](#build_cpp) below.
### <a name="build_cpp"></a>Build C++
@@ -65,7 +65,7 @@ To build C++ targets, you need:
[known issue](https://github.com/bazelbuild/bazel/issues/3949),
please upgrade your VS 2017 to the latest version.
-* The `BAZEL_VS` or `BAZEL_VC` environment variable.
+* The `BAZEL_VS` or `BAZEL_VC` environment variable. (They are *not* the same!)
Bazel tries to locate the C++ compiler the first time you build any
target. To tell Bazel where the compiler is, you can set one of the
@@ -87,6 +87,9 @@ To build C++ targets, you need:
set BAZEL_VC=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
```
+ The first command sets the path to Visual Studio (BAZEL\_V<b>S</b>), the other
+ sets the path to Visual C++ (BAZEL\_V<b>C</b>).
+
* The [Windows
SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk).