From 73070e82423aa64b381fa4bf51ea7ad380c538fc Mon Sep 17 00:00:00 2001 From: kdekker Date: Mon, 9 Apr 2018 10:42:14 +0200 Subject: winbuild: updated the documentation The setenv command no longer exists and visual studio build prompts got changed. Used Visual Studio 2015/2017 as reference. Closes #2472 --- winbuild/BUILD.WINDOWS.txt | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'winbuild/BUILD.WINDOWS.txt') diff --git a/winbuild/BUILD.WINDOWS.txt b/winbuild/BUILD.WINDOWS.txt index 98deed01e..76887dcda 100644 --- a/winbuild/BUILD.WINDOWS.txt +++ b/winbuild/BUILD.WINDOWS.txt @@ -12,7 +12,7 @@ Building with Visual C++, prerequisites The latest Platform SDK can be downloaded freely from: - https://msdn.microsoft.com/en-us/windows/bb980924 + https://developer.microsoft.com/nl-nl/windows/downloads/sdk-archive If you are building with VC6 then you will also need the February 2003 Edition of the Platform SDK which can be downloaded from: @@ -44,15 +44,25 @@ Building straight from git Building with Visual C++ ======================== -Open a Visual Studio Command prompt or the SDK CMD shell. +Open a Visual Studio Command prompt: - Using the CMD Shell: - choose the right environment via the setenv command (see setenv /?) - for the full list of options. setenv /xp /x86 /release for example. + Using the 'Developer Command Prompt for VS ' menu entry: + where version is the Visual Studio version. The developer prompt at default + uses the x86 mode. It is required to call Vcvarsall.bat to setup the prompt + for the machine type you want, using Vcvarsall.bat. + This type of command prompt may not exist in all Visual Studio versions. - Using the Visual Studio command prompt Shell: - Everything is already pre-configured by calling one of the command - prompt. + For more information, check: + https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs + https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line + + Using the 'VS Command Prompt' menu entry: + where version is the Visual Studio version, platform is e.g. x64 + and type Native of Cross platform build. This type of command prompt + may not exist in all Visual Studio versions. + + See also: + https://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx Once you are in the console, go to the winbuild directory in the Curl sources: -- cgit v1.2.3