|
Boost-Build : |
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2007-09-05 04:17:30
Phillip Seaver skrev:
> project foo : build-requirements $(build_requirements) ;
>
> local source = [ glob *.cpp ] ;
> for local s in $(source) {
> obj $(s:B) : $(s) : $(build_requirements) ;
> }
>
> lib foo : $(source) : $(build_requirements) ;
>
>
> Is there a reason you don't want to use my suggestion of "bjam
> foo_src.obj" with msvc and "bjam foo_src.o" in most (all?) other cases?
no. Your code works beutifully.
Thanks
-Thorsten
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