• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:with +full:- +full:libssh2

1 <!--
4 SPDX-License-Identifier: curl
5 -->
7 # Building curl with Visual C++
10 from sources using the Visual C++ build tool. To build with VC++, you have to
19 archive](https://developer.microsoft.com/en-us/windows/downloads/sdk-archive)
23 If you wish to support zlib, OpenSSL, c-ares, ssh2, you have to download them
27 |_curl-src
45 exist in all Visual Studio versions. For example, to build a 64-bit curl open
50 …4-Bit, x64 hosted MSVC toolset on the command line](https://docs.microsoft.com/en-us/cpp/build/how
52 …nd Environment Variables for Command-Line Builds](https://docs.microsoft.com/en-us/cpp/build/build…
54 …for Visual Studio](https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-promp…
61 cd curl-src\winbuild
63 Then you can call `nmake /f Makefile.vc` with the desired options (see
71 - `VC=<num>` - VC version. 6 or later.
72 - `WITH_DEVEL=<path>` - Paths for the development files (SSL, zlib, etc.)
74 - `WITH_SSL=<dll/static>` - Enable OpenSSL support, DLL or static
75 - `WITH_NGHTTP2=<dll/static>` - Enable HTTP/2 support, DLL or static
76 - `WITH_MSH3=<dll/static>` - Enable (experimental) HTTP/3 support, DLL or static
77 - `WITH_MBEDTLS=<dll/static>` - Enable mbedTLS support, DLL or static
78 - `WITH_WOLFSSL=<dll/static>` - Enable wolfSSL support, DLL or static
79 - `WITH_CARES=<dll/static>` - Enable c-ares support, DLL or static
80 - `WITH_ZLIB=<dll/static>` - Enable zlib support, DLL or static
81 - `WITH_SSH=<dll/static>` - Enable libssh support, DLL or static
82 - `WITH_SSH2=<dll/static>` - Enable libssh2 support, DLL or static
83 - `WITH_PREFIX=<dir>` - Where to install the build
84 - `ENABLE_SSPI=<yes/no>` - Enable SSPI support, defaults to yes
85 - `ENABLE_IPV6=<yes/no>` - Enable IPv6, defaults to yes
86 - `ENABLE_IDN=<yes or no>` - Enable use of Windows IDN APIs, defaults to yes
88 - `ENABLE_SCHANNEL=<yes/no>` - Enable native Windows SSL support, defaults
90 - `ENABLE_OPENSSL_AUTO_LOAD_CONFIG=<yes/no>`
91 - Enable loading OpenSSL configuration
93 - `ENABLE_UNICODE=<yes/no>` - Enable Unicode support, defaults to no
94 - `GEN_PDB=<yes/no>` - Generate External Program Database
96 - `DEBUG=<yes/no>` - Debug builds
97 - `MACHINE=<x86/x64/arm64>` - Target architecture (default is x86)
98 - `CARES_PATH=<path>` - Custom path for c-ares
99 - `MBEDTLS_PATH=<path>` - Custom path for mbedTLS
100 - `WOLFSSL_PATH=<path>` - Custom path for wolfSSL
101 - `NGHTTP2_PATH=<path>` - Custom path for nghttp2
102 - `MSH3_PATH=<path>` - Custom path for msh3
103 - `SSH_PATH=<path>` - Custom path for libssh
104 - `SSH2_PATH=<path>` - Custom path for libssh2
105 - `SSL_PATH=<path>` - Custom path for OpenSSL
106 - `ZLIB_PATH=<path>` - Custom path for zlib
111 options with the added keyword "clean". For example:
126 already built but not with that option, or if the option was specified
134 ## Building your own application with libcurl (Visual Studio example)
139 with suffixes -obj-curl and -obj-lib.
147 `..\builds\libcurl-vc10-x64-release-dll-ipv6-sspi-schannel`.
153 `C:\curl-7.82.0`. You would set these options for configurations using the
157 - Configuration Properties > Debugging > Environment
158 PATH=C:\curl-7.82.0\builds\libcurl-vc10-x64-release-dll-ipv6-sspi-schannel\bin;%PATH%
160 - C/C++ > General > Additional Include Directories
161 C:\curl-7.82.0\builds\libcurl-vc10-x64-release-dll-ipv6-sspi-schannel\include;
163 - Linker > General > Additional Library Directories
164 C:\curl-7.82.0\builds\libcurl-vc10-x64-release-dll-ipv6-sspi-schannel\lib;
166 - Linker > Input > Additional Dependencies
178 ## Building your own application with a static libcurl
198 backend is Schannel (Windows SSPI), the native SSL library that comes with