Boost logo

Boost Users :

Subject: [Boost-users] conditionnal define
From: Marc-Antoine ARNAUD (mrn_at_[hidden])
Date: 2012-03-16 09:58:56


Hello,

I'm using boost BJam to build my project with externals librairies.
And I need to define variables if I found headers on the machine.

How can we do that ?

project

    : requirements

    <include>.

    <define>FLAG_NEEDED_TO_DEFINE => I need to define only if I found
header.

    ;

lib library : [ glob *.cpp ] ;

Thanks,
Marc-Antoine* *ARNAUD



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net