Boost logo

Boost-Build :

Subject: [Boost-build] Alias requirements?
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2010-11-29 02:53:17

I feel I must be missing something obvious, but are alias requirements supposed
to work? Consider this simple case:

alias src : a.cpp b.cpp : <define>FOO ;
exe e : main.cpp src ;

Here both a.cpp and b.cpp get built without FOO being defined. Changing 'alias'
with 'lib' fixes the things and causes FOO to be properly defined for a.cpp and
This is somewhat similar
to, and I really don't see
why either shouldn't
work. seems to
suggest this to be a supported use case (the 'threads' example), so is this a
bug or a misunderstanding of 'alias' on my part?


P.S. Using Boost.Build shipped with Boost 1.44

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