Skip to content

CatchMiscFunctions.cmake: Use PRIVATE for target_compile_options#2553

Merged
horenmar merged 2 commits intocatchorg:develfrom
autoantwort:use-private-in-CatchMiscFunctions.cmake
Oct 24, 2022
Merged

CatchMiscFunctions.cmake: Use PRIVATE for target_compile_options#2553
horenmar merged 2 commits intocatchorg:develfrom
autoantwort:use-private-in-CatchMiscFunctions.cmake

Conversation

@autoantwort
Copy link
Contributor

If PUBLIC is used INTERFACE_COMPILE_OPTIONS is populated. Definition of INTERFACE_COMPILE_OPTIONS: 'Targets may populate this property to publish the compile options required to compile against the headers for the target.' But this is not be true for -ffile-prefix-map.

If PUBLIC is used INTERFACE_COMPILE_OPTIONS is populated. Definition of INTERFACE_COMPILE_OPTIONS: 'Targets may populate this property to publish the compile options required to compile against the headers for the target.' But this is not be true for -ffile-prefix-map.
@codecov
Copy link

codecov bot commented Oct 23, 2022

Codecov Report

Merging #2553 (5360a83) into devel (a43f679) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            devel    #2553   +/-   ##
=======================================
  Coverage   91.15%   91.15%           
=======================================
  Files         185      185           
  Lines        7614     7614           
=======================================
  Hits         6940     6940           
  Misses        674      674           

@horenmar horenmar added the Building and Packaging Issues affecting build/packaging scripts and utilities label Oct 24, 2022
@horenmar
Copy link
Member

Thanks

@horenmar horenmar merged commit 8ce92d2 into catchorg:devel Oct 24, 2022
@autoantwort autoantwort deleted the use-private-in-CatchMiscFunctions.cmake branch October 24, 2022 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Building and Packaging Issues affecting build/packaging scripts and utilities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants