>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