Embedded install paths in CMake files for Boost 1.79

Alex via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAEMDno9SFqr8rvibGEWp-87ak0hd_JmCuRLoXQOu0zHuka--sg@mail.gmail.com>
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
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.