Boost logo

Boost-Build :

Subject: Re: [Boost-build] project wide define (C Macro) in Boost.Buid
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-03-31 09:46:22


On Tuesday 31 March 2009 17:36:41 Sherwood Hu wrote:
> Is it possible to define project-wide preprocessor. I tried
>
>
>
> Project : requirements
>
> <define>_UNIT_TEST
>
>
>
> But it did not work. I have to add toolset in order to make it work:
>
>
>
> <toolset>msvc:<define>_UNIT_TEST

Please provide a complete example. Your example has type "Project" vs "project",
and lacks ";", so it's hard to say if the problem is due to some real bug,
or something else.

- Volodya


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