|
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
b.cpp.
This is somewhat similar
to http://lists.boost.org/boost-build/2009/04/21616.php, and I really don't see
why either shouldn't
work. http://www.boost.org/boost-build2/doc/html/bbv2/tasks/alias.html 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?
Thanks,
Gevorg
P.S. Using Boost.Build shipped with Boost 1.44
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