16 Oct
2018
16 Oct
'18
4:05 a.m.
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