summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2017-07-25 15:06:10 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-07-26 15:24:29 +0000
commitca3f064cfbc92ce77ab65127feb3d4c60f2e6929 (patch)
tree75a760f0caa4d08a6219c93881e5b5194b6de07e
parent5c1c87c195333b0e3b826a0cd74ef8137fdbd1eb (diff)
downloadpdfium-ca3f064cfbc92ce77ab65127feb3d4c60f2e6929.tar.xz
Update document on how to use a different visual studio version
We can use environment variable "GYP_MSVS_VERSION" to control which Visual Studio version we want to use for compilation. Add the info in our document. BUG=pdfium:836 Change-Id: Iac6b104708fa1414239fe59d25eb465765e22397 Reviewed-on: https://pdfium-review.googlesource.com/8990 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index ca443950a9..3c24b0c8bb 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,9 @@ Also install Python, Subversion, and Git and make sure they're in your path.
PDFium uses a similar Windows toolchain as Chromium:
#### Open source contributors
-Visual Studio 2015 Update 2 or later is highly recommended.
+Visual Studio 2015 Update 2 or later is highly recommended. Visual Studio 2015
+is current default version, run `set GYP_MSVS_VERSION=2017` when you use Visual
+Studio 2017.
Run `set DEPOT_TOOLS_WIN_TOOLCHAIN=0`, or set that variable in your global
environment.