]> granicus.if.org Git - curl/commitdiff
winbuild: updated the documentation
authorkdekker <kees.dekker@infor.com>
Mon, 9 Apr 2018 08:42:14 +0000 (10:42 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Apr 2018 08:42:14 +0000 (10:42 +0200)
The setenv command no longer exists and visual studio build prompts got
changed. Used Visual Studio 2015/2017 as reference.

Closes #2472

.mailmap
winbuild/BUILD.WINDOWS.txt

index 0e173c0595325f84b8e1f7121eb36450abe218d1..44f1020f6feb5e848ffa703c42efc5a847a4668a 100644 (file)
--- a/.mailmap
+++ b/.mailmap
@@ -40,3 +40,4 @@ Dan Fandrich <dan@coneharvesters.com>
 Henrik S. Gaßmann <henrik@gassmann.onl>
 Jiří Malák <malak.jiri@gmail.com>
 Nick Zitzmann <nickzman@gmail.com>
+Kees Dekker <kees.dekker@infor.com>
index 98deed01e33aeca27c22a454af31f5a4603afb1d..76887dcda8d26f531ee42d6694323b4bb1a84f93 100644 (file)
@@ -12,7 +12,7 @@ Building with Visual C++, prerequisites
 \r
    The latest Platform SDK can be downloaded freely from:\r
 \r
-    https://msdn.microsoft.com/en-us/windows/bb980924\r
+    https://developer.microsoft.com/nl-nl/windows/downloads/sdk-archive\r
 \r
    If you are building with VC6 then you will also need the February 2003\r
    Edition of the Platform SDK which can be downloaded from:\r
@@ -44,15 +44,25 @@ Building straight from git
 Building with Visual C++\r
 ========================\r
 \r
-Open a Visual Studio Command prompt or the SDK CMD shell.\r
+Open a Visual Studio Command prompt:\r
 \r
-    Using the CMD Shell:\r
-     choose the right environment via the setenv command (see setenv /?)\r
-     for the full list of options. setenv /xp /x86 /release for example.\r
+     Using the 'Developer Command Prompt for VS <version>' menu entry:\r
+       where version is the Visual Studio version. The developer prompt at default\r
+       uses the x86 mode. It is required to call Vcvarsall.bat to setup the prompt\r
+       for the machine type you want, using Vcvarsall.bat.\r
+       This type of command prompt may not exist in all Visual Studio versions.\r
 \r
-    Using the Visual Studio command prompt Shell:\r
-     Everything is already pre-configured by calling one of the command\r
-     prompt.\r
+       For more information, check:\r
+         https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs\r
+         https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line\r
+\r
+     Using the 'VS <version> <platform> <type> Command Prompt' menu entry:\r
+       where version is the Visual Studio version, platform is e.g. x64\r
+       and type Native of Cross platform build.  This type of command prompt\r
+       may not exist in all Visual Studio versions.\r
+\r
+       See also:\r
+         https://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx\r
 \r
 Once you are in the console, go to the winbuild directory in the Curl\r
 sources:\r