[C++-sig] #define in bjam

Ben Veal benveal92 at hotmail.com
Tue Feb 14 12:28:44 CET 2006


>How to define a preprocessor variable at compilation time
>with bjam (-Dxxx option for gcc) ?

You need a line in the requirements section of your Jamfile:

target-type target-name :
        sources
: #requirements
<define>foo





More information about the Cplusplus-sig mailing list