|
Boost-Build : |
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-23 00:13:05
AMDG
Jonathan Biggar wrote:
> Here's a tougher one:
>
> I need to embed a path generated from the install prefix into my
> library so it can find files at runtime. This isn't hard to do, since
> I can use a <conditional> requirement to generate
> <cxx-flags>-DMYPATH=... from <install-default-prefix>, but here's the
> problem. If the user uses bjam to build the library, and then calls
> bjam later and changes <install-default-prefix>, how do I get the
> library to rebuild with the new -D option?
Quick and easy way: rebuild everything
bjam -a ...
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