mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 01:11:47 -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:
parent
778235ce21
commit
73070e8242
1
.mailmap
1
.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>
|
||||
|
@ -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 <version>' 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 <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
|
||||
sources:
|
||||
|
Loading…
x
Reference in New Issue
Block a user