$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2004-05-31 03:33:02
John Torjo wrote:
> Is there a way to add an <include> to bjam, by specifying it on command
> line?
>
> In particular, I'm trying to build a non-boost library, which needs boost
;)
>
> Therefore, I need to specify the path where boost headers are. Since I
> want to distribute this library, I don't think that adding an <include>
> in the jamfile, specifying where my boost is installed is the way to go ;)
I use boost-build.jam file with:
boost-build $(BOOST_ROOT)/tools/build/v1 ;
and then call bjam like
bjam -sBOOST_ROOT=path
Regards,
Janusz