Boost logo

Boost-Build :

Subject: Re: [Boost-build] [python] Python build description
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-07-20 12:12:30


On Wednesday 14 July 2010 22:50:01 Spencer E. Olson wrote:

> project('/myLib',
> define('POUND_DEFINE=blah'),
> include('src/'),
> client_requirements=[
> include('src/'),
> define('CLIENT_POUND_DEFINE=blar'),
> ]
> );
>
> library('library',
> 'src/myLib/func.cpp',
> define('OTHER_POUND_DEFINE=hahaha'),
> 'src/myLib/other.cpp',
> );

Spencer,

this looks pretty nice. I have one design question though --
what is the guideline when to use function (e.g. 'define') and when to
use keyword arguments (like 'client_requirements')? How can this be
explained to users, so that there's no confusion?

Thanks,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: 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