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
- exist in all Visual Studio versions.\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
\r
- `SSL_PATH=<path>` - Custom path for OpenSSL\r
- `ZLIB_PATH=<path>` - Custom path for zlib\r
\r
+## Cleaning a build\r
+\r
+ For most build configurations you can remove a bad build by using the same\r
+ options with the added keyword "clean". For example:\r
+\r
+ nmake /f Makefile.vc mode=static clean\r
+\r
+ Build errors due to switching Visual Studio platform tools or mistakenly\r
+ specifying the wrong machine platform for the tools can usually be solved by\r
+ first cleaning the bad build.\r
+\r
## Static linking of Microsoft's C runtime (CRT):\r
\r
If you are using mode=static nmake will create and link to the static build\r
\r
When you build curl using the build files in this directory the default SSL\r
backend will be Schannel (Windows SSPI), the native SSL library that comes\r
- with the Windows OS. Schannel in Windows <= XP is not able to connect to\r
- servers that no longer support the legacy handshakes and algorithms used by\r
+ with the Windows OS. Schannel in Windows 8 and earlier is not able to connect\r
+ to servers that no longer support the legacy handshakes and algorithms used by\r
those versions. If you will be using curl in one of those earlier versions of\r
Windows you should choose another SSL backend like OpenSSL.\r