]> granicus.if.org Git - curl/commit
cmake: generate pkg-config and curl-config
authorPeter Wu <peter@lekensteyn.nl>
Tue, 14 Oct 2014 09:38:17 +0000 (11:38 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 20 Oct 2014 15:03:58 +0000 (17:03 +0200)
commit8ed66f98a954cfce92f770adeb2320deb1ea700e
tree227fa39a49175eaef5557dcf01a711cd83ff0b99
parent8478b4035e16316f9fc2d7b7cbede51042751412
cmake: generate pkg-config and curl-config

Initial work to generate a pkg-config and curl-config script. Static
linking (`curl-config --static-libs` and `pkg-config --shared --libs
libcurl`) is broken and therefore disabled.

CONFIGURE_OPTIONS does not make sense for CMake, use an empty string
for now.

At least `curl-config --features` and `curl-config --protocols` work
which is needed by runtests.pl.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
CMakeLists.txt