cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: alternative VC Makefiles

From: Pierre Joye <pierre.php_at_gmail.com>
Date: Thu, 23 Dec 2010 11:12:07 +0100

hi Daniel,

On Thu, Dec 23, 2010 at 9:48 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 22 Dec 2010, Pierre Joye wrote:
>
>> http://github.com/pierrejoye/curl/blob/master/winbuild/Makefile.vc
>
> Two questions:
>
> - Is there any way we can come up to make the Windows makefile somehow use
> the Makefile.inc list of files rather than to have its own private list of
> files?

Yes, something like what is done in libssh2 is possible, it is in the
todos. The idea is to remove the two lists (the .c, the .obj and use a
common list instead).

> I would even consider a bootstrap script that generates the list in a
> VC-friendly way a better approach than the two-list one.

The nmake makefile lists work the same than gnu make, space separated entries.

I was considering adding a .bat for the VC detection along other pre
requirements like a VC or SDK console settings (SDK INCLUDE, LIB etc.
being set).

> - The Makefile header doesn't mention it supports VC10, but later in line
> 201
> is says so. I assume the latter is correct, isn't it?

Fixed, thanks, I copy/pasted the previous headers.

Cheers,

-- 
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-23