|
Boost-Build : |
Subject: Re: [Boost-build] [boost-build] how to use boost.use-project?
From: Andrey Torba (andreytorba_at_[hidden])
Date: 2009-07-14 05:26:25
<use> for jam projects and <library> for explicit library names?
project : build-dir
bin
: requirements
<use>/boost//headers
<use>/boost/test//boost_unit_test_framework
<library>libxxx.lib
;
On Tue, Jul 14, 2009 at 12:10 PM, Vladimir Prus <ghost_at_[hidden]> wrote:
> On Tuesday 14 July 2009 Andrey Torba wrote:
>
> > Can i do such way?
> > ===================================================================
> > import boost ;
> >
> > boost.use-project ;
> >
> > project : build-dir
> > bin
> > : requirements
> > <library>/boost//headers
> > ;
> >
> > exe main1 : main1.cpp ;
> > exe main2 : main2.cpp ;
>
> Yes, though it's clearer to use <use>, not <library>,
> since there's physical library to link to.
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
-- Regards, Andrey
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