Boost logo

Boost-Build :

Subject: [Boost-build] project wide define (C Macro) in Boost.Buid
From: Sherwood Hu (sherwood_at_[hidden])
Date: 2009-03-31 09:36:41


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



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