$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-04-08 11:43:22
On Apr 7, 2007, at 8:19 PM, Andrej van der Zee wrote:
> I saw that I can extend or define my own variants, or
> type "bjam debug define=MY_DEBUG", but this is not
> what I want. Moreover, I also do not want to add the
> conditional "<variant>debug:<define>MY_DEBUG" to all
> target's requirements.
>
> Is there a way to add the define to debug in Jamroot
> so that it is applied globally to all sub-projects?
Why can't you put this in your Jamroot?
project
: requirements
<variant>debug:<define>MY_DEBUG
;
-- Noel Belcourt