1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -05:00

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
This commit is contained in:
kdekker 2018-04-09 10:42:14 +02:00 committed by Daniel Stenberg
parent 778235ce21
commit 73070e8242
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 19 additions and 8 deletions

View File

@ -40,3 +40,4 @@ Dan Fandrich <dan@coneharvesters.com>
Henrik S. Gaßmann <henrik@gassmann.onl> Henrik S. Gaßmann <henrik@gassmann.onl>
Jiří Malák <malak.jiri@gmail.com> Jiří Malák <malak.jiri@gmail.com>
Nick Zitzmann <nickzman@gmail.com> Nick Zitzmann <nickzman@gmail.com>
Kees Dekker <kees.dekker@infor.com>

View File

@ -12,7 +12,7 @@ Building with Visual C++, prerequisites
The latest Platform SDK can be downloaded freely from: 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 If you are building with VC6 then you will also need the February 2003
Edition of the Platform SDK which can be downloaded from: Edition of the Platform SDK which can be downloaded from:
@ -44,15 +44,25 @@ Building straight from git
Building with Visual C++ 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: Using the 'Developer Command Prompt for VS <version>' menu entry:
choose the right environment via the setenv command (see setenv /?) where version is the Visual Studio version. The developer prompt at default
for the full list of options. setenv /xp /x86 /release for example. 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: For more information, check:
Everything is already pre-configured by calling one of the command https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs
prompt. https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line
Using the 'VS <version> <platform> <type> 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 Once you are in the console, go to the winbuild directory in the Curl
sources: sources: