ut icon indicating copy to clipboard operation
ut copied to clipboard

Avoid exporting compile options

Open ken-matsui opened this issue 2 years ago • 1 comments

Problem:

  • The ut (aliased as Boost::ut) target exports compile options as INTERFACE, but it mostly does not need. (this is also pointed out as FIXME)
  • 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: @

ken-matsui avatar Mar 10 '22 22:03 ken-matsui

Hi @krzysztof-jusiak, Could you please review my PR at your convenience?

ken-matsui avatar May 29 '22 08:05 ken-matsui