Boost logo

Boost-Build :

From: Alex (arghness_at_[hidden])
Date: 2022-06-07 13:01:12

I'm trying to make a build of Boost that includes the generated CMake files.

For my case, I need to install the files to a staging area before packaging
them up for installation in the target environment. I've tried "b2
--stagedir <dir> stage" but the generated CMake files still include the
stagedir path in them, instead of the install prefix specified during
bootstrap, which triggers errors in the packaging system. I'm also not sure
if it's then possible to just install the headers to the same staging

Is there a way to install to a staging location while the CMake files have
the paths to the final install location? CMake uses CMAKE_STAGING_PREFIX
for this but I can't find an equivalent for b2. I guess it must be required
for cross-compiling though, if you want to support CMake on the target?


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