Subject: Re: [Boost-build] Cannot add dependencies to alias
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-04-15 11:54:48
-----BEGIN PGP SIGNED MESSAGE-----
On 04/15/2011 08:51 AM, Nogradi, Chris wrote:
> I am trying to add a dependency to an alias from within a scanner's process rule but it is not doing anything. I tried the following simple example to verify the ability to add a dependency to a alias after it is declared but can't even get it to work:
> lib test : test.c ;
> alias t ;
> DEPENDS t : test ;
>> bjam.exe t
> ...found 1 target...
> What am I doing wrong?
t is a main target. DEPENDS (and scanners)
work with Jam level targets. i.e. you
can't do this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
-----END PGP SIGNATURE-----
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