Boost logo

Boost-Build :

From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2004-01-28 07:12:56

Hi Volodya,

> > In some occasions, I need to have a target staged before compiling a
> > file.
> Hmm.. that's unusual requirement.

Agreed :-)

We're using Qt and, before using BB to compile a 'ui' file, we need to have
a plugin
(itself built using BB) in a directory where Qt can find it.

> > The attached project shows how this can cause a duplicate target error.
> >
> > The problem is that BB will try to stage a staged target...
> True. It sees <dependency> on another stage target and tries to restage
> I haven't yet made up my mind if this is bug in 'stage' -- and we need to
> it, or user error -- and we need to provide other approach to achieving
> result.

That's what I think too.
A possible approach would be to pass to the ui compiler the path to the
where the plugin is built. The problem is that the plugin depends on a set
of libraries
which must be on the path...

> Maybe, you could give more details about why you're trying this, so that I
> have more information to decide?

I hope the above is enough.

Many thanks for your help.



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