cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: new makefile for Visual C++

From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 16 Mar 2009 19:30:33 +0100

2009/3/14, Piotr Dobrogost wrote:

> Are you sure we need both enable and disable variants for options in the
> makefile? I think having both is
> - redundant
> - misleading
> - error prone (mutually exclusive options possible)

The reason for having both the enable and disable variants for some
options is to better match the options that the configure script on
configure-capable systems can handle. Doing this might increase the
chance that someone which is used to autoconf's configure scripts will
be capable of properly answering which options are required for a MSVC
specific build configuration.

The script already checked for mutually exclusive options and took
appropriate action, unless a bug exists, before you commented this
possibility.

> Have you thought about using some more sophisticated build system for
> win32 platform then nmake? We're going to have much boilerplate code in
> case of nmake and that will make libcurl's makefile harder to maintain.

The work in progress is the creation of a new makefile for MSVC which
can be used with any version of Visual Studio starting grom VS6 and
from there onwards (trying as hard as possible to not require any
third party tool) that will allow building of curl and libcurl with as
many options as the user wants, but with the less possible effort on
his side.

Removing effort and need for knowledge from the user is always at the
cost of increasing the need of these on the developer and resulting
product.

In any case, being able to grip a screwdriver doesn't mean one will
allways be able to build a spaceship ;-) no matter if it is a philips,
flathead or torx screwdriver.

-- 
-=[Yang]=-
Received on 2009-03-16