curl / Mailing Lists / curl-library / Single Mail


Re: curl Windows build and setenv command

From: Richard Alcock <>
Date: Tue, 20 Mar 2018 16:47:59 +0000


I also started looking at changes to winbuild that would mean we don't
need to put all the dependencies under same folder, so I'm interested
in what you are thinking about as well.

What I played with (using zlib as the example) added ways to allow us
to override the library path, include directory and library names.
Everything is intended to default to what happens today if not set.

WITH_ZLIB=<dll or static> - Enable zlib support, DLL or static
WITH_ZLIB_LIBPATH=<path> - Path to zlib library files. If set is
used instead of WITH_DEVEL path.
WITH_ZLIB_INCLUDE=<path> - Path to zlib header files. If set is used
instead of WITH_DEVEL path.
WITH_ZLIB_LIBS=<name.lib> - Name of zlib library

You can see what it looks like at


On 20 March 2018 at 15:57, Kees Dekker <> wrote:
> Hi,
> In
> something is told about setenv, however, recent Windows versions do not have
> a setenv command and neither has the Visual Studio command prompt (I’m using
> Visual Studio 2015 on Windows 10 and/or Windows Server 2012 or 2016) has it.
> Q1: Is this a typo? Does Windows really have a setenv command? I’m only
> aware of a set command (to set environment variable). Where is setenv on a
> (default) Windows system?
> In addition to previous question:
> Q2: What kind of build on Windows is preferred? The on in winbuild or the
> project/solution files under the projects\Windows directory?
> Background: my goal is to figure out whether I can address the issues as
> reported on
> Currently, I’m using an own variant from the winbuild stuff (curl 7.57,
> with openSSL 1.1.0g, latest zlib and libssh2 libraries).
> Regards,
> Kees
> -------------------------------------------------------------------
> Unsubscribe:
> Etiquette:

Received on 2018-03-20