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.