Boost logo

Boost-Build :

Subject: Re: [Boost-build] Specifying a somple C++ macro define in a jamfile
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2011-03-27 13:05:20


On 3/27/2011 11:01 AM, 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.

It's indirectly mentioned in
<http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html#bbv2.overview.targets.requirements>.
By way of examples.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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