|
Boost : |
Subject: Re: [boost] Installing CMake configuration files
From: Peter Dimov (lists_at_[hidden])
Date: 2018-10-17 22:07:55
Louis Dionne wrote:
> With your current solution, is there a way to substitute the Config files
> being automatically generated for Config files of my choice?
Yes in principle. You can just declare your own `stage` and `install`
targets in your build/Jamfile and do whatever you like there. For a
header-only library such as Hana, and with our current monolithic ball of
headers scheme, that would be easy since `stage` does nothing and `install`
just needs to copy the CMake config file to its proper location. For a
buildable library, it would be more convoluted since boost-install does a
lot of work that would need to be duplicated. (On the other hand, you would
rarely need to override the default for buildable libraries.)
We'll figure something out, eventually, when we get to that point.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk