From ca3f064cfbc92ce77ab65127feb3d4c60f2e6929 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Tue, 25 Jul 2017 15:06:10 -0700 Subject: 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 Commit-Queue: dsinclair --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3