Boost logo

Boost-Build :

Subject: [Boost-build] Specifying a somple C++ macro define in a jamfile
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-03-27 11:39:38


How do I specify a simple macro definition, ie. #define SOMEMACRO, in a
jamfile for the 'compile' rule ? I know how to add a cxxflag, but
specifying a command-line #define is different fro different compilers.
Do I have to know the compiler flag for each compiler to do this or is
their some feature of Boost Build which does it for me ?


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