summaryrefslogtreecommitdiff
path: root/winbuild
Commit message (Collapse)AuthorAgeFilesLines
* winbuild: make the clean target work without build-typekdekker2018-04-062-11/+18
| | | | | | | | | Due to the check in Makefile.vc and MakefileBuild.vc, no make call can be invoked unless a build-type was specified. However, a clean target only existed when a build type was specified. As a result, the clean target was unreachable. Made clean target unconditional. Closes #2455
* winbuild: prefer documented zlib library namesrichardthe3rd2018-03-041-0/+14
| | | | | | | | | | | | Check for existence of import and static libraries with documented names and use them if they do. Fallback to previous names. According to https://github.com/madler/zlib/blob/master/win32/README-WIN32.txt on Windows, the names of the import library is "zdll.lib" and static library is "zlib.lib". closes #2354
* winbuild: Use macros for the names of some build utilitiesRod Widdowson2018-02-231-2/+7
| | | | | | | | | | - Add macros to the top of the makefile for rc and mt utilities so that it is easier to change their locations. Bug: https://curl.haxx.se/mail/lib-2018-02/0075.html Reported-by: Stefan Kanthak Closes https://github.com/curl/curl/issues/2329
* winbuild: Use CALL to run batch scriptsRod Widdowson2018-02-221-2/+2
| | | | | | | Co-authored-by: Stefan Kanthak Closes https://github.com/curl/curl/issues/2330 Closes https://github.com/curl/curl/pull/2331
* build: fix windows build methods for curl_ctype.cJay Satiro2018-01-301-1/+4
| | | | | | | - Fix winbuild and the VS project generator to treat curl_ctype.{c,h} as curlx files since they are required by both src and lib. Follow-up to 4272a0b which added curl_ctype.
* winbuild: make linker generate proper PDBAdam Marcionek2018-01-301-1/+1
| | | | | | | Link.exe requires /DEBUG to properly generate a full pdb file on release builds. Closes #2274
* Makefile.vc: Added our standard copyright headerSteve Holme2017-12-221-0/+22
|
* winbuild: Added support for VC15Steve Holme2017-12-223-4/+4
|
* winbuild/BUILD.WINDOWS.txt: mention WITH_NGHTTP2Daniel Stenberg2017-10-121-0/+1
|
* winbuild: fix embedded manifest optiontheantigod2017-08-261-1/+1
| | | | | | Embedded manifest option didn't work due to incorrect path. Fixes https://github.com/curl/curl/issues/1832
* BUILD.WINDOWS: mention buildconf.bat for builds off gitDaniel Stenberg2017-08-031-3/+10
|
* winbuild: re-enable warning C4127 for curl toolMarcel Raad2017-07-141-1/+1
| | | | | Disabled in cda19a345f6970e22fe8b7a808aeb8f086a21eac. It only needs to be disabled for libcurl.
* winbuild: build with warning level 4Marcel Raad2017-07-131-4/+4
| | | | | | | | | | This is consistent with 7bc64561a2e63ca93e4b0b31d350773ba80955c2, which changed the warning level from 3 to 4 for the Visual Studio project files. But disable the level 4 warning C4127 "conditional expression is constant", as that one is issued by older versions of the Windows SDK as well as curl itself under some circumstances. Closes https://github.com/curl/curl/pull/1667
* curl_setup: always define WIN32_LEAN_AND_MEAN on WindowsMarcel Raad2017-07-111-1/+1
| | | | | | | | | Make sure to always define WIN32_LEAN_AND_MEAN before including any Windows headers to avoid pulling in unnecessary headers. This avoids unnecessary macro clashes and compiler warnings. Ref: https://github.com/curl/curl/issues/1562 Closes https://github.com/curl/curl/pull/1672
* winbuild: fix boringssl buildHenrik S. Gaßmann2017-06-241-1/+4
| | | | | | | | | | | | Compile with `WIN32_LEAN_AND_MEAN` which prevents `windows.h` from including too much clutter including `wincrypt.h` which in turn contains some preprocessor macros that clash with boringssl symbols. Detect boringssl by checking the existance of `is_boringssl.h` and set the corresponding `HAVE_BORINGSSL` for compilation which is used in `ldap.c` to undefine the evil macros. Closes #1610
* includes: remove curl/curlbuild.h and curl/curlrules.hDaniel Stenberg2017-06-141-3/+0
| | | | | | | | Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456
* winbuild: fix the nghttp2 buildAnatol Belski2017-05-242-16/+28
| | | | Closes #1321
* winbuild: add basic support for OpenSSL 1.1.xAnatol Belski2017-03-131-0/+8
| | | | | | - Auto-detect OpenSSL 1.1 libs Closes https://github.com/curl/curl/pull/1322
* winbuild: add note on auto-detection of MACHINE in Makefile.vcSimon Warta2017-02-161-0/+3
| | | | Closes #1265
* VC: remove the makefile.vc6 build infraDaniel Stenberg2017-01-231-81/+0
| | | | | | The winbuild/ build files is now the single MSVC makefile build choice. Closes #1215
* winbuild: add config option ENABLE_NGHTTP2Jan-E2016-11-252-0/+28
| | | | Closes #1141
* winbuild: remove strcase.obj from curl buildDaniel Stenberg2016-11-021-3/+0
| | | | | | Reported-by: Bruce Stephens Fixes #1098
* msvc builds: s/rawstr/strcaseDaniel Stenberg2016-10-311-3/+3
| | | | Follow-up to 811a693b
* winbuild: Allow changing C compiler via environment variable CC (#952)Simon Warta2016-08-091-4/+10
| | | | | | | This makes it possible to use specific compilers or a cache. Sample use for clcache: set CC=clcache.bat nmake /f Makefile.vc DEBUG=no MODE=static VC=14 GEN_PDB=no
* winbuild: Free name $(CC) in Makefile (#950)Simon Warta2016-08-091-11/+7
| | | | | | | | In the old line number 290, CC and CURL_CC had the same value. After that, /DCURL_STATICLIB was added to CC but not CURL_CC (intended?). This gets rid of the CC variable entirely. It is a first step to make it possible to manualyl set a CC variable in order to be able to change the compiler.
* winbuild: Avoid setting redundant CFLAGS to compile commands (#949)Simon Warta2016-08-081-2/+0
| | | | $(CURL_CC) is always used with $(CURL_CFLAGS) appended, so before this, all arguments in CURL_CFLAGS have been added twice.
* winbuild: fix embedded manifest optionJay Satiro2016-07-211-1/+1
| | | | | | Embedded manifest option didn't work due to typo. Reported-by: Stefan Kanthak
* schannel: add CURLOPT_CERTINFO supportAndrew Kurushin2016-06-011-0/+1
| | | | Closes #822
* winbuild/Makefile.vc: Fix check on SSL, MBEDTLS, WINSSL exclusivityJan-E2016-05-201-4/+6
| | | | Closes #818
* winbuild: add mbedtls supportHenrik Gaßmann2016-04-213-2/+30
| | | | | | | Add WITH_MBEDTLS option. Make WITH_SSL, WITH_MBEDTLS and ENABLE_WINSSL options mutual exclusive. Closes #606
* Revert "winbuild: trying to set some files eol=crlf for git"Daniel Stenberg2016-04-071-3/+0
| | | | | | | | This reverts commit 9c08b4f1e7eced5a4d3782a3e0daa484c9d77d21. Didn't help. Caused problems. Fixes #756
* URLs: change http to https in many placesViktor Szakats2016-04-061-208/+208
| | | | Closes #754
* winbuild: trying to set some files eol=crlf for gitDaniel Stenberg2016-04-061-0/+3
| | | | Thinking it might help to apply patches etc with git.
* build: Updated all makefiles and project files for the new vauth directorySteve Holme2016-03-251-0/+4
| | | | | | Updated the makefiles and Visual Studio project files to support moving the authentication code to the new lib/vauth directory that was started in commit 0d04e859e1.
* URLs: change more http to httpsViktor Szakats2016-02-021-3/+3
|
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-032-2/+2
|
* winbuild: run buildconf.bat if necessaryBenjamin Kircher2015-09-091-0/+3
|
* makefile: Added support for VC14Steve Holme2015-07-213-3/+3
|
* INSTALL: Advise use of non-native SSL for Windows <= XPJay Satiro2015-06-201-2/+11
| | | | | | | | | Advise that WinSSL in versions <= XP will not be able to connect to servers that no longer support the legacy handshakes and algorithms used by those versions, and to use an alternate backend like OpenSSL instead. Bug: https://github.com/bagder/curl/issues/253 Reported-by: zenden2k <zenden2k@gmail.com>
* winbuild: Document the option used to statically link the CRTJay Satiro2015-05-081-0/+11
| | | | | | | - Document option RTLIBCFG (runtime library configuration). Bug: https://github.com/bagder/curl/issues/254 Reported-by: Bert Huijben
* openssl: remove all uses of USE_SSLEAYDaniel Stenberg2015-03-051-2/+2
| | | | | | | SSLeay was the name of the library that was subsequently turned into OpenSSL many moons ago (1999). curl does not work with the old SSLeay library since years. This is now reflected by only using USE_OPENSSL in code that depends on OpenSSL.
* winbuild: Added option to build with c-aresSam Schanken2015-01-083-1/+42
| | | | | | | | Added support for a WITH_CARES option to be used when invoking nmake via Makefile.vc. This option enables linking against both the DLL and static versions of the c-ares libraries, as well as the debug and release varients, depending on the value of DEBUG. The USE_ARES preprocessor symbol is also defined.
* newlines: fix mixed newlines to LF-onlyRay Satiro2014-09-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | I use the curl repo mainly on Windows with the typical Windows git checkout which converts the LF line endings in the curl repo to CRLF automatically on checkout. The automatic conversion is not done on files in the repo with mixed line endings. I recently noticed some weird output with projects/build-openssl.bat that I traced back to mixed line endings, so I scanned the repo and there are files (excluding the test data) that have mixed line endings. I used this command below to do the scan. Unfortunately it's not as easy as git grep, at least not on Windows. This gets the names of all the files in the repo's HEAD, gets each of those files raw from HEAD, checks for mixed line endings of both LF and CRLF, and prints the name if mixed. I excluded path tests/data/test* because those can have mixed line endings if I understand correctly. for f in `git ls-tree --name-only --full-tree -r HEAD`; do if [ -n "${f##tests/data/test*}" ]; then git show "HEAD:$f" | \ perl -0777 -ne 'exit 1 if /([^\r]\n.*\r\n)|(\r\n.*[^\r]\n)/'; if [ $? -ne 0 ]; then echo "$f"; fi; fi; done
* Remove all traces of FBOpenSSL SPNEGO supportDavid Woodhouse2014-07-162-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just fundamentally broken. SPNEGO (RFC4178) is a protocol which allows client and server to negotiate the underlying mechanism which will actually be used to authenticate. This is *often* Kerberos, and can also be NTLM and other things. And to complicate matters, there are various different OIDs which can be used to specify the Kerberos mechanism too. A SPNEGO exchange will identify *which* GSSAPI mechanism is being used, and will exchange GSSAPI tokens which are appropriate for that mechanism. But this SPNEGO implementation just strips the incoming SPNEGO packet and extracts the token, if any. And completely discards the information about *which* mechanism is being used. Then we *assume* it was Kerberos, and feed the token into gss_init_sec_context() with the default mechanism (GSS_S_NO_OID for the mech_type argument). Furthermore... broken as this code is, it was never even *used* for input tokens anyway, because higher layers of curl would just bail out if the server actually said anything *back* to us in the negotiation. We assume that we send a single token to the server, and it accepts it. If the server wants to continue the exchange (as is required for NTLM and for SPNEGO to do anything useful), then curl was broken anyway. So the only bit which actually did anything was the bit in Curl_output_negotiate(), which always generates an *initial* SPNEGO token saying "Hey, I support only the Kerberos mechanism and this is its token". You could have done that by manually just prefixing the Kerberos token with the appropriate bytes, if you weren't going to do any proper SPNEGO handling. There's no need for the FBOpenSSL library at all. The sane way to do SPNEGO is just to *ask* the GSSAPI library to do SPNEGO. That's what the 'mech_type' argument to gss_init_sec_context() is for. And then it should all Just Work™. That 'sane way' will be added in a subsequent patch, as will bug fixes for our failure to handle any exchange other than a single outbound token to the server which results in immediate success.
* winbuild: Don't USE_WINSSL when WITH_SSL is being usedSteve Holme2014-06-061-0/+4
| | | | Regression of commit d39bbcfa8d when compiling against OpenSSL.
* winbuild: Fixed static OpenSSL builds following commit c50ce85918Steve Holme2014-06-051-1/+1
|
* build: Renamed CURLX_ONES file list definition to CURLX_CFILESSteve Holme2014-05-211-1/+1
| | | | | | | Renamed the CURLX_ONES file list definition in order to a) try and be consistent with other file lists and b) to allow for the addition of the curlx header files, which will assist with Visual Studio project files generation rather than hard coding those files.
* BUILD.WINDOWS: update URL for windows prereqsDaniel Stenberg2014-05-041-2/+2
|
* winbuild: Updated the VC++ make instructions following commit 11025613b9Steve Holme2014-04-051-3/+9
| | | | | * Added information regarding the February 2003 Platform SDK for VC6 * Updated the introduction to be similar to the IDE projects README
* winbuild: added warnless.c to fix buildCody Mack2014-03-281-1/+4
|