Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-03 08:36:41


On Wednesday 03 August 2005 05:06, timgift wrote:

> A possible solution is to allow multiple projects in a Jamfile, but so
> far that doesn't seem possible... does anybody know if this is
> possible? I'd basically like to have a single Jamefile something like
> this:
>
> project util : source-location util ;
> lib util : a.cpp b.cpp ;
>
> project kernel : source-location kernel ;
> lib kernel : a.cpp b.cpp c.cpp ;
>
> project tool : source-location tool ;
> exe tool : tool.cpp /util//util /kernel//kernel ;

No, it's not possible, but you can use this:

lib util : util/a.cpp util/b.cpp : <location-prefix>util ;
lib kernel : kernel/a.cpp kernel/b.cpp : <location-prefix>kernel ;

This should resolve your problems with identically named files.

HTH,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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