summaryrefslogtreecommitdiff
path: root/docs/INSTALL.cmake
diff options
context:
space:
mode:
authorZmey Petroff <zmeypetroff@newmail.ru>2011-04-28 00:05:07 +0400
committerDaniel Stenberg <daniel@haxx.se>2011-04-28 10:12:33 +0200
commit2cbe885c1a4d4f9b64fa0f41582e9d1b68affa25 (patch)
tree1f6fd2e4bea90d1773dc5a47ea6fe6879a5f344f /docs/INSTALL.cmake
parent4a42e5cdaa344755c6bf5317908849619f61798b (diff)
downloadcurl-2cbe885c1a4d4f9b64fa0f41582e9d1b68affa25.tar.gz
CMake: improve library search, implement install.
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).
Diffstat (limited to 'docs/INSTALL.cmake')
-rwxr-xr-xdocs/INSTALL.cmake16
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/INSTALL.cmake b/docs/INSTALL.cmake
index 4217cebf1..1e5a0dee4 100755
--- a/docs/INSTALL.cmake
+++ b/docs/INSTALL.cmake
@@ -18,6 +18,17 @@ Building with CMake
CMake builds can be configured either from the command line, or from one
of CMake's GUI's.
+Important notice
+==================
+ If you got your curl sources from a distribution tarball, make sure to
+ delete the generic 'include/curl/curlbuild.h' file that comes with it:
+ rm -f curl/include/curl/curlbuild.h
+
+ The purpose of this file is to provide reasonable definitions for systems
+ where autoconfiguration is not available. CMake will create its own
+ version of this file in its build directory. If the "generic" version
+ is not deleted, weird build errors may occur on some systems.
+
Command Line CMake
==================
A command line build of Curl is similar to the autotools build of Curl. It
@@ -32,9 +43,10 @@ Command Line CMake
# variable prior to running CMake.
cmake ../curl
make
- # currently make test and make install are not implemented
+ # currently make test is not implemented
#make test
- #make install
+ # Install to default location:
+ make install
ccmake
=========