Boost logo

Boost-Build :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2008-07-12 05:09:59


t3_at_[hidden] wrote:
> And, despite google, I can't find a sensible way to specify the lib in my
> jamroot.
>
>
>
> For Linux, this works:
>
> exe bob : main.cpp boost_program_options ;
>
>
>
> lib boost_program_options : : <name>boost_program_options-mt-s ;
>
>
>
> But obviously that hard-codes the name of the lib, so it only works
> correctly for one variant and doesn't work on Windows.
>
> So I thought I could do something like:
>
> lib program_options : : <link>shared <threading>multi <variant>debug
> <toolset>msvc <name>boost_program_options-vc90-mt-gd-1_35

Have a look into the build contrib directory.
There is a boost.jam file which will do exactly what you want.

The documentation is inside the file.

-- 
_________________________________________
  _  _  | Roland Schwarz
 |_)(_  | aka. speedsnail
 | \__) | mailto:roland.schwarz_at_[hidden]
________| http://www.blackspace.at

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