cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: new makefile for Visual C++

From: Piotr Dobrogost <pd_at_curlpp.org>
Date: Wed, 25 Feb 2009 21:34:16 +0100

Yang Tse wrote:

> > MS's nmake string handling capabilities are nonexistent. You can
> > 'concatenate' variable contents, but breaking them down and iterating
> > over its 'words' is another world.

What a wonderful tool ;)

> > If you _really_ wish to experiment, you could try to process the
> > variable in a command block of some fake target. But each command is
> > executed in its own subshell, so you would loose variables set in it.

Would it be possible to save results to temp file and read them back in
other place of makefile?

Why not to abandon nmake and switch to some better tool?

>> >> Shouldn't we rather run compiler to find out what the version
really is?
> >
> >>From inside a MS nmake makefile, being capable of setting a variable
inside it?

Hmm..

Regards
Piotr Dobrogost
Received on 2009-02-25