« Return to Thread: Library in sources or requirements?

Library in sources or requirements?

by Anthony Foglia-2 :: Rate this Message:

Reply to Author | View in Thread

        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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

 « Return to Thread: Library in sources or requirements?