|
Boost-Build : |
Subject: Re: [Boost-build] boost 1.56 where is 'tools/build/v2' ?
From: Thomas Suckow (thomas.suckow_at_[hidden])
Date: 2014-08-21 12:38:57
On 08/21/2014 06:57 AM, avib369 . wrote:
> My own project uses the boost build. In the root of my project tree I have a file boost-build.jam.
> Which has always been:
>
> BOOST_BUILD ?= $(BOOST_ROOT)/tools/build/v2 ;
>
> This no longer works. To get things to work I had to change to:
>
> BOOST_BUILD ?= $(BOOST_ROOT)/tools/build/src ;
>
> This is a shame, since in the past I only had to change a environment variable BOOST_ROOT
> to switch between different boost version !
This is _my_ preferred boost-build.jam
https://gist.github.com/thomassuckow/4742940dc5f54f37857a
It has the benefit that it will find the boost build files by the b2/bjam executable used. It can also be overridden by --boost-build command line arg.
If anyone else has tricks up their sleeve for their boost-build.jam, I would invite you to share.
Regards,
Thomas
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk