Boost logo

Boost-Build :

Subject: [Boost-build] Library in sources or requirements?
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2009-06-11 12:08:33


        When compiling an executable that uses a library, is there a difference
between:

exe filesystem-test
    : filesystem_test.cpp
      /boost//filesystem
    ;

and

exe filesystem-test
    : filesystem_test.cpp
    : <library>/boost//filesystem
    ;

        We've been using the former, and that's what's described more
prominently in the documentation, but the contrib/boost.jam file uses
the other one in the example in comments.

        Sorry to seem rude, but our group of ~10 has been using bjam for nearly
two years, and none of use are close to grokking it. I can tell by our
messy Jamfiles that we're not using it as designed, but the
documentation is nearly useless as to what the best practices are.

-- 
Anthony Foglia
Princeton Consultants
(609) 987-8787 x233

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