From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-11-03 07:39:40
> > > And the <include>include had worked before restructuring ...
> > I'm certainly about to fix this. Since tomorrow will be "Boost.Build
> > day" for me, at least partially, I might fix this tomorrow. Of
> > course, if putting 'use-project' after 'project' does not work, I
> > will fix it before releasing M9.
> Don't hurry. It works for nearly all my project.
> One caveat:
> I have problems specifying implicit-dependencies to a child project.
> That means I have
> in toplevel and want all three to have implicit-depency to lib1, then I
> write the following in toplevel Jamfile
> use-project /lib1: lib1 ;
> project toplevel :
> <implicit-dependency>lib1 ;
> and everything works.
> When I move use-project below project declaration, I get error about
> circular dependency.
I believe I've mentioned the reason for this in some other post. When building
any target in lib1, Boost.Build sees reference to <lib1>, so it tries to
recursively built all targets in lib1, and you get the error.
The reason why it did not show up with previous setting is because of a bug:
the <implicit-dependency>lib1 was not inherited by "lib1".
> Any Ideas about that.
Maybe, you can move <implciit-dependency>lib1 to a Jamfile one directory level
deeper? Or put it as usage requirements on targets from lib1?
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