aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2014-08-25Cmake: Require at least CMake 2.8.Jakub Zakrzewski
CMake 2.6 is already a bit old. Many bugs have been fixed since its release. We use 2.8 in our company and we have no intention of polluting our environment with old software, so 2.6 would not be tested. This shouldn't be a problem since all one need to build CMake from source is C and C++ compiler.
2014-01-01CMakeLists.txt: add standard curl source code headerDaniel Stenberg
2014-01-01CMakeLists.txt: add warning about the cmake build's stateDaniel Stenberg
2013-10-20cmake: unbreak for non-Windows platformsDaniel Stenberg
Patch-by: Oliver Kuckertz Bug: http://curl.haxx.se/bug/view.cgi?id=1292
2013-02-04cmake: Fix mingw buildMatt Arsenault
2013-02-04cmake: updated OpenSSL buildSergei Nikulov
2013-01-06Revert changes relative to lib/*.[ch] recent renamingYang Tse
This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
2013-01-03build: make use of 93 lib/*.c renamed filesYang Tse
93 *.c source files renamed to use our standard naming scheme. This change affects 77 files in libcurl's source tree.
2012-04-12configure: NATIVE_WINDOWS no longer defined in config filesYang Tse
2012-03-30CMakeLists.txt: fix Windows LDAP/LDAPS option handlingtetetest tetetest
bug: http://curl.haxx.se/mail/lib-2012-03/0278.html
2012-03-29CMakeLists.txt: fix MS Visual Studio x64 unsigned long long literal suffixtetetest tetetest
bug: http://curl.haxx.se/mail/lib-2012-03/0255.html
2012-03-16cmake: list_spaces_append_once fails with spaces in filenameDaniel Stenberg
Windows standard libraries are located in C:/Program Files/Microsoft SDKs/[...]. They are already included in the default MSVC LIBPATH. Hence, find_library(WSOCK32_LIBRARY wsock32) and find_library(WS2_32_LIBRARY ws2_32) are not needed. They return the full path to the libraries including spaces. Of course, list_spaces_append_once will mangle the result and the build fails. Bug: http://curl.haxx.se/bug/view.cgi?id=3494968
2011-12-30removed trailing whitespaceYang Tse
2011-08-13cmake: find winsock when building on windowsDaniel Stenberg
When building on Windows, with CMake and mingw, curl fails to compile because the CMake build system is not properly looking for the Winsock libraries Patch by: Pau Garcia i Quiles Bug: http://curl.haxx.se/bug/view.cgi?id=3389231
2011-04-28CMake: improve library search, implement install.Zmey Petroff
Improved library search by check_function_exists_concat() macro: it does not revert the list of libraries any more. Improved OpenSSL library search: first find zlib, then search for openssl libraries that may depend on zlib. For Unix: openssl libraries can now be detected in nonstandard locations. Supply CMAKE_LIBRARY_PATH to CMake on command line. Added installation capability (very basic one yet).
2011-01-06CMake: Use upstream CheckTypeSize moduleBrad King
The CheckTypeSize module that comes with CMake 2.6.2 and above does everything we need and also supports cross-compiling. Avoid duplicating an older version of it here. This also fixes a cross-compiling error because the old line include ("${CMAKE_MODULE_PATH}/CheckTypeSize.cmake") failed because CMAKE_MODULE_PATH is a search path and not a directory. Signed-off-by: Brad King <brad.king@kitware.com>
2010-10-12CMake: Build fix.Julien Chaffraix
Do not match the trailing '\n' in the regular expression as this would make us dump a ) parenthesis on a new line. This fixes the following error: would get transformed into: ) Bug: http://curl.haxx.se/mail/lib-2010-10/0065.html Reported by: Dimitre Dimitrov
2010-06-04Enable OpenLDAP support for cygwin builds.Yang Tse
Enable OpenLDAP support for cygwin builds. This support was disabled back in 2008 due to incompatibilities between OpenSSL and OpenLDAP headers. cygwin's OpenSSL 0.9.8l and OpenLDAP 2.3.43 versions on cygwin 1.5.25 allow building an OpenLDAP enabled libcurl supporting back to Windows 95. Remove non-functional CURL_LDAP_HYBRID code and references.
2010-03-24Enable LDAP by default since it is now disabled when ldap.h is not found,Bill Hoffman
2010-03-24CMake fixes for Linux.Bill Hoffman
Make sure <sys/socket.h> is included if around when testing/using socklen_t. Also, disable LDAP if LDAP_H is not found on the system.
2010-03-24Fix curl CMake build.Bill Hoffman
This commit fixes the cmake build of curl, and cleans up the cmake code a little. It removes some commented out code and some trailing whitespace. To get curl to build the binary tree include/curl directory needed to be added to the include path. Also, SIZEOF_SHORT needed to be added. A check for the lack of defines of SIZEOF_* for warnless.c was added.
2009-07-15ENH: fix build with sslBill Hoffman
2009-07-15BUG: curl did not build with cmake with VS 2005 for two reasons, ws2tcpip.h ↵Bill Hoffman
requires winsock2.h to be included before it with that compiler, and wldap32 is not available with the default install of the compiler, so disable ldap support if that is not found
2009-07-14ENH: add optional support for c-aresBill Hoffman
2009-07-14ENH: do not report if zlib is not found as it still worksBill Hoffman
2009-06-10ENH: extract version from curlver.hBill Hoffman
2009-06-09ENH: lower case cmake functions and remove tabs and re-indent cmake codeBill Hoffman
2009-06-06ENH: add some cmake docs and fix build with socklen_tBill Hoffman
2009-05-02Use build-time configured curl_socklen_t instead of socklen_tYang Tse
2009-04-14(Minor change - From Piotr Dobrogost) Moved a line.Benoit Neil
2009-04-09(Minor update) Moved some utilities to a separate file.Benoit Neil
2009-04-09Cleaned up the custom definition I added (replaced by CURL_STATICLIB)Benoit Neil
2009-04-08Made the windows .lib addition cleaner.Benoit Neil
2009-04-08Renamed a variableBenoit Neil
2009-04-08Fixed compile defines in CMake scriptsBenoit Neil
2009-04-07(Minor update) Modified a comment, before going to sleep :)Benoit Neil
2009-04-07Added missing tests in CMake, added Makefile.inc for tests (+ use in CMake ↵Benoit Neil
scripts), and fixed a missing define under windows in a test source file.
2009-04-07Added CURL_HIDDEN_SYMBOLS option, and fixed missing SIZEOF_INT causing warnings.Benoit Neil
2009-04-07(From Bill Hoffman & Sukender) Added Dashboard reports.Benoit Neil
2009-04-06Made the CMake scripts read Makefile.inc. Needs testing I guess.Benoit Neil
2009-04-06Added tests (exes) targets, refactor a few things.Benoit Neil
PS: Once again, sorry if the added files have executable perms on Linux.
2009-04-06Added curl (exe) target, fixed static/dynamic linking errors.Benoit Neil
PS: Sorry if the added file has executable perms on Linux, I didn't found anything related to it...
2009-04-06Fixed Win32 link error and disabled MSVC specific (=annoying) warnings ↵Benoit Neil
(Reported by Bill Hoffman)
2009-04-02Added basic OpenSSL support in CMake scripts (Thanks to Bill Hoffman)Benoit Neil
2009-04-02Initial CMake scripts (libcurl only), based on the merge of tetest scripts ↵Benoit Neil
and mine. These are far to be functionnal yet. PS: Hello world :)