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 14:24:56 +0100

hi Vincent,

The main issue with sln is that they are versions specific. It would
be possible to generate dsw for VC6 but for VC8/7/9/10 it is trickier,
while possible. However you can use cmake instead, it will generate
sln if desired.

About the debugger, if you use a non express version of Visual Studio,
you can enable the JIT debugger (what I do), which provides everything
you may need. Express editions sadly do not support JIT debugging.
WinDBG is an alternative as well.

Cheers,

On Thu, Dec 23, 2010 at 12:37 PM, Vincent Torri <vincent.torri_at_gmail.com> wrote:
>
>
> 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
>

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