cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: new project file and README for Visual Studio 2005

From: Klaus Darilion <klaus.mailinglists_at_pernau.at>
Date: Mon, 07 Dec 2009 09:20:41 +0100

Daniel Stenberg schrieb:
> On Fri, 4 Dec 2009, Klaus Darilion wrote:
>
>> OK. Found it myself: msvcproj.foot
>>
>> But how is libcurl.vcproj generated out from the header, footer, and
>> probably something more?
>
> The current approach is a bit limited (for MSVS users) since the
> libcurl.vcproj file is made by running 'make libcurl.vcproj' in the lib
> dir, on a system that works with configure! (And it is made
> automatically for release tarballs). We should consider doing it another
> way that could work for actual windows users too.
>
> The actual logic isn't that hard to follow, you can see it in
> lib/Makefile.am at the bottom of the file where it is the last makefile
> target. It basically works like this:
>
> 1. put the header in the file
> 2. loop over all C files and add them to the file with the correct XML
> around
> 3. loop over all H files and add them to the file with the correct XML
> around
> 4. append the footer to the output

Ok. Seems to me that other targets/platfforms can be added just be
editing the header. I will take a look at it.

regards
klaus
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-07