|
Boost-Build : |
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-----
Hash: SHA1
AMDG
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.
In Christ,
Steven Watanabe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAEBAgAGBQJNqGpIAAoJEDTBQuhymLHSUlkH/j9Vwp5O9WThyjKhyqYGrhD8
lY3cTb293g2W9s4jPPoqvvm70xQOeIAYmR1/40dDo80ofJacipYsmo/WWNWzXdWQ
OCGwAujNpTiaRmW0yVlpXrZxtV3SWIFTXgkraGlgdInkDUinn/fQt0aF6mu0wBeR
pJ4APEk3PH9btr21bzFrEKKntHCyOXaARqCrvjF8Yp/6MH4sMBXYYEV51os5DiFD
ydZz3Pz50UVgkynPU0ExNuL9plb+VM9MdOzTCil9O1kpnLq5ZNBzDPLCgg/8/mTX
KUFoqc+wdXftcnMzWPilKbuKJWhIlxTeIGwwF3yvOLwq8uhCIN4kIMLDcqELZk0=
=aCfu
-----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