Boost logo

Boost-Build :

From: Zbynek Winkler (zwin_at_[hidden])
Date: 2003-12-08 13:14:05


Is this the expected behavior of the alias target?

| |--Jamfile
| |--foo_test.cpp
| |--Jamfile
| |--bar_test.cpp

alias test : foo//test bar//test ;

alias test_src : foo_test.cpp ;
unit-test test : test_src ;

alias test_src : bar_test.cpp ;
unit-test test : test_src ;

Running 'bjam' updates foo//test and bar//test, but when creating the
bar//test it links *both* bar_test.cpp *and* foo_test.cpp into the
binary. Isn't /foo//test_src something unrelated to /bar//test_src?

PS. I guess you can also remove this note from the documentation:

(Note, that the "alias" target type is not yet implemented, but it's
quite simple to do. I bet it's waiting for you to do it ;-))

Faculty of Mathematics and Physics, Charles University, Prague, Czech 

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