Boost logo

Boost-Build :

Subject: Re: [Boost-build] Specifying a somple C++ macro define in a jamfile
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-03-27 12:01:57

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

> The usage is simple:

Great ! Thanks !

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at