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
source
> > 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
them.
> I haven't yet made up my mind if this is bug in 'stage' -- and we need to
fix
> it, or user error -- and we need to provide other approach to achieving
this
> result.

That's what I think too.
A possible approach would be to pass to the ui compiler the path to the
directory
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.

Pedro

 


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