Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost] [gil][test] HOWTO set up the Boost testing process for projects with extra prerequisites ?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-11-24 02:48:19


AMDG

On 11/23/2017 07:26 PM, Stefan Seefeld via Boost-build wrote:
>
> Is there a way for the Jamfile to add a "using zlib ;" or similar that will
> serve as a default, i.e. whenever the user-config.jam file doesn't contain a
> "using zlib " statement ? I'd like to be able to write a valid Jamfile that
> works (and finds prerequisite libs in default locations) without a
> user-config.jam, but allow users to override the paths. But right now it seems I
> have to add "using zlib ;" to either my user-config.jam, or the Jamfile, but not
> both.
>

They're not exclusive. It's designed so that

  using zlib ;

with no arguments will work correctly in a Jamfile.
As long as none of <source>, <search>, <name>, or
<include> are specified, `using zlib`, will be ignored,
if a previous `using zlib` already exists.

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk