Boost logo

Boost-Build :

From: Jonathan Biggar (jon_at_[hidden])
Date: 2008-07-23 00:01:49


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?

-- 
Jon Biggar
Floorboard Software
jon_at_[hidden]
jon_at_[hidden]

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