cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: alternative VC Makefiles

From: Vincent Torri <vincent.torri_at_gmail.com>
Date: Thu, 23 Dec 2010 12:37:39 +0100

On Thu, Dec 23, 2010 at 11:12 AM, Pierre Joye <pierre.php_at_gmail.com> wrote:

> 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.
>

Why don't you use a solution and one or several vcproj files ? Most of the
Windows programmers use that IDE and never use command lines. In addition
they like the VS debugger (which is indeed very good)

Vincent Torri

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-23