From 2cbe885c1a4d4f9b64fa0f41582e9d1b68affa25 Mon Sep 17 00:00:00 2001 From: Zmey Petroff Date: Thu, 28 Apr 2011 00:05:07 +0400 Subject: 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). --- docs/INSTALL.cmake | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'docs') 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 ========= -- cgit v1.2.3