Boost logo

Boost Users :

Subject: Re: [Boost-users] can I only use 'user.cpp' under boost/config for all#define
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-11-17 12:48:25


> Can I put all #define like the following in boost/config/user.cpp instead
> of putting them in boostcpp.jam or/and other jam files?
>
> ...
> #define BOOST_NO_ANSI_APIS
>
> //( for example )
> #define MY_VAR

Sure, you can put anything you like in there, and any Boost lib that uses
Boost.Config will see it.

HTH, John.


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