Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building a library where the library name is generated by a program
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-07-11 21:36:18


AMDG

On 07/11/2015 05:38 AM, Edward Diener wrote:
> Is there a way of using Boost build to build a library where the target
> library name is generated by the output of a particular program one
> writes ?
>
> In the 'lib' rule one gives the library target explicitly. is there a
> way I can generate the name of the library target on-the-fly ?
>

  The name of the library has to be determined
before the update phase, so that Boost.Build
can determine whether it exists and its
modification time. It's probably possible
to create something akin to configure.builds
which does what you want, but there's nothing
pre-defined by Boost.Build.

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