Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-02-21 09:01:39

Just FYI, it appears I need better "stage" rule before Rene has the time to work on it.
In brief, I need

stage wi
: {some target}
: <location>{some system location}/bin <dll-path>{some system location}/lib

The point is that I want to install binaries and hardcode path to dynamic libraries to them.
Sure, the stage rule has to relink binaries to put new rpath. I've took the shortest route,
and made "stage" always relink executables.

At the moment the minimum functionality works --- the installed binaries pick the correct
libraries. But there's a question: what properties should be used when relinking.

Specifically: there are some properties when building "wi". Staged targets are build with
propagated properties. If we relink with the same properties, then free <dll-path> property
won't have any effect. Now, I just add free properties from stage to original properties
on the link action. I wonder

1. Is this right?
2. What does V1 do?

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at