]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
winbuild/README: consolidate command prompt section
authorJay Satiro <raysatiro@yahoo.com>
Wed, 16 Oct 2024 22:19:40 +0000 (18:19 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 30 Oct 2024 05:30:15 +0000 (01:30 -0400)
- Remove reference to 'Developer Command Prompt for Visual Studio'
  shortcut since it opens in x86 mode.

That prompt may confuse users since it is not easily switched to x64.
Our instruction says vcvarsall can be used to change the platform but it
is not in the path in any version that I checked (VS 2010, 2013, 2022).

Instead users will now only see the remaining instruction to use a
platform specific command prompt to build curl, like "x64 Native Tools".

There's several links as well to Microsoft documentation for users that
have more complicated requirements, such as using vcvarsall.

Closes https://github.com/curl/curl/pull/15313

winbuild/README.md

index ad2e9d5fda99de7c004560871ebed485490d96ab..1dfa13cf1f7dae7482ade50e2d0219eafc0c7bfa 100644 (file)
@@ -46,24 +46,19 @@ SPDX-License-Identifier: curl
 \r
 Open a Visual Studio Command prompt:\r
 \r
- Using the **'Developer Command Prompt for VS [version]'** menu entry: where\r
- [version} is the Visual Studio version. The developer prompt at default uses\r
- the x86 mode. It is required to call `Vcvarsall.bat` to setup the prompt for\r
- the machine type you want. This type of command prompt may not exist in all\r
- Visual Studio versions.\r
-\r
- See also: [Developer Command Prompt for Visual\r
- Studio](https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs)\r
- and [How to: Enable a 64-Bit, x64 hosted MSVC toolset on the command\r
- line](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 and\r
- [type] Native of Cross platform build. This type of command prompt may not\r
+ [type] Native or Cross platform build. This type of command prompt may not\r
  exist in all Visual Studio versions. For example, to build a 64-bit curl open\r
  the x64 Native Tools prompt.\r
 \r
- See also: [Set the Path and Environment Variables for Command-Line Builds](https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line)\r
+ See also:\r
+\r
+ [How to: Enable a 64-Bit, x64 hosted MSVC toolset on the command line](https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line)\r
+\r
+ [Set the Path and Environment Variables for Command-Line Builds](https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line)\r
+\r
+ [Developer Command Prompt for Visual Studio](https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs)\r
 \r
 ## Build in the console\r
 \r