Boost logo

Boost-Build :

Subject: Re: [Boost-build] Specifying a somple C++ macro define in a jamfile
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-03-27 16:54:51


On Sunday, March 27, 2011 20:01:57 Edward Diener wrote:
> On 3/27/2011 11:54 AM, Jürgen Hunold wrote:
> > Hi Erward,
> >
> > On Sunday, 27. March 2011 17:39:38 Edward Diener wrote:
> >> How do I specify a simple macro definition, ie. #define SOMEMACRO, in a
> >> jamfile for the 'compile' rule ?
> >
> > This should be documented at
> > http://www.boost.org/boost-
> > build2/doc/html/bbv2/overview/builtins/features.html
> >
> >> I know how to add a cxxflag, but
> >> specifying a command-line #define is different fro different compilers.
> >
> > This would be the "define" feature which seems to be missing on the page
> > above.
>
> Thanks ! Yet another piece of documentation missing from Boost Build.

I've added this one to docs. (I wish all doc tasks were that simple).

- Volodya

-- 
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