Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to get a default value for BOOST_BUILD_PATH ?
From: Thomas Suckow (thomas.suckow_at_[hidden])
Date: 2014-02-11 12:15:57

> I was wondering if
> bjam has a predefined value for this path, value that would be remain
> consistent with any boost build folder layout change. I think that would
> be helpful for projects that require boost-build.jam only to add folders
> to BOOST_BUILD_PATH while using the default boost-build installation.

Not that I have ever seen. Though I had also never seen use of $(self)
before I dumped all the variables with one of the -d options.

I think it would be a little complicated to get right. It would need to
be embedded in the executable which would mean it would need to be
changed when installed, it could put in a file, but then where do you
put that file so boost-build can always find it.

Another option would be to just get rid of boost-build.jam and move all
its logic into boost-build itself. I am not sure if there are many uber
important use cases that need it. I have found it useful for doing some
additional boost locating and then using to link against the system
install of boost. If you have subprojects with their own SystemBoost
then boost-build will get pissy that you are creating multiple /boost
references with different directories. Though maybe there is a better
way that how I have done it.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at