cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Is there anyone building with cmake?

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Sun, 11 Mar 2012 09:10:56 +0100

On Saturday 10 March 2012 22:13:58 Daniel Stenberg wrote:
> I'm curious, are there any hackers present here who build libcurl using
> cmake?

I tried it and it worked, only needed to create a symlink to lib/config-win32.h
in src, no idea why. It is probably far from complete when compared to the
auto* based builds, but the cmake-based build was 3x faster:

$ git clean -dfx && time (./buildconf && ./configure && make -j)
real 0m50.177s
user 0m24.947s
sys 0m15.283s

$ git clean -dfx && ln -s ../lib/config-win32.h src/ && time (cmake . && make -j)
real 0m17.874s
user 0m17.741s
sys 0m11.967s

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-11