Apologies if this is the wrong list. I tried boost-build but I'm not sure
if my message was verified (I don't see it in the archive).

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 need to use. I'm
also not sure if it's then possible to just install the headers to the same
staging location.

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?

Regards,
Alex
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to