cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl and CMake (Was configure dilemmas)

From: Charles <sanders-consulting_at_attbi.com>
Date: Sun, 10 Mar 2002 16:33:17 -0600

I think its a great idea. As a regular user of both *NIX and Windows, I
whole heartedly support any effort to pull the two together!!

Charles

----- Original Message -----
From: "Andy Cedilnik" <andy.cedilnik_at_kitware.com>
To: "Curl" <curl-library_at_lists.sourceforge.net>
Sent: Monday, March 10, 2003 3:50 PM
Subject: Curl and CMake (Was configure dilemmas)

> Hi All,
>
> We use Curl in CMake for the last couple of months and it works great.
>
> For those of you who do not know CMake, it is a cross platform build
> tool. Sort of replacement for Autoconf/Automake, except that it can
> generate Makefiles for Borland Bcc5.5 and NMake (Visual studio 6 and 7)
> and it can also generate project files for Visual Studio 6 and 7. It
> does all sorts of things, such as allowing out of source build, parallel
> build, nice dependency control...
>
> I played around and wrote CMake TRY_COMPILE and TRY_RUN's so that it
> builds on a variety of platforms. You can see the list here:
>
> http://public.kitware.com/dashboard.php?name=cmake
>
> Also, the input file for CMake (CMakeLists.txt) for libcurl can be seen
> here:
>
>
http://www.cmake.org/cgi-bin/cvsweb.cgi/CMake/Source/CTest/Curl/CMakeLists.t
xt?rev=1.18&cvsroot=CMake
>
> Since we already have CMake input files for libcurl, it would be fairly
> easy to make whole Curl to build using CMake. This would be a great
> benefit especially for all those Windows users, who do want to build
> from sources. And of course CMake can do TRY_COMPILE and TRY_RUN on
> Windows.
>
> It would also be a benefit to Unix users who do not wish to have
> Autoconf/Automake on their system.
>
> The drawback is that you would have to install CMake. This is however
> extremely easy. On Most systems you just download binary and you are
> done. On some rare systems you might have to build it.
>
> So, let me know what you think.
>
>
> Andy
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
>
>

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-03-10