|
Boost : |
Subject: Re: [boost] Installing CMake configuration files
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-10-16 04:05:51
AMDG
On 10/15/2018 09:20 PM, Peter Dimov via Boost wrote:
> Louis Dionne wrote:
>
>> <snip>
>> 2. It allows providing compile options or required compile features
>> via the imported target. For example, I may want someone "linking"
>> against Boost::hana to get `-Wno-user-defined-literal` automatically
>> (I don't, but you get the idea).
>
> How are you going to communicate your target_compile_definitions (or
> whatever) to the code generating the config file? Perhaps you'll have a
> ready-made config file that would be installed instead of the generated
> one?
>
It's probably possible to handle this by
translating (a subset of) the usage-requirements
from the library.
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk