ut
ut copied to clipboard
Avoid exporting compile options
Problem:
- The ut (aliased as Boost::ut) target exports compile options as
INTERFACE
, but it mostly does not need. (this is also pointed out asFIXME
) - However, it seems that tests, examples, and benchmarks want to use the options.
Solution:
- Delete compile options for the interface
ut
. - Add compile options for targets of tests, examples, and benchmarks as
PRIVATE
.
Issue: #
Reviewers: @
Hi @krzysztof-jusiak, Could you please review my PR at your convenience?