Skip to content

[develop2] fix some issues with traits propagation multi-level - #12508

Merged
czoido merged 1 commit into
conan-io:develop2from
memsharded:fix/develop2_traits
Nov 11, 2022
Merged

czoido merged 1 commit into
conan-io:develop2from
memsharded:fix/develop2_traits

Conversation

@memsharded

Copy link
Copy Markdown
Member

Close #12504

This fixes some issues with transitive propagation and overriding of traits for more than 3 levels: app->libc->libb->liba

  • Transitive propagation of transitive_headers=True
  • Transitive propagation of transitive_libs=False for static libraries
  • Fixing non standard default traits, like run=True for a static library or a header only library (if they have some conf files that are needed at runtime to work), libs=False (when depending on a static/shared library but you only want some header and not really link)

@memsharded memsharded added this to the 2.0.0-beta5 milestone Nov 11, 2022
@memsharded
memsharded marked this pull request as ready for review November 11, 2022 01:33
@czoido
czoido merged commit 67c146a into conan-io:develop2 Nov 11, 2022
@memsharded
memsharded deleted the fix/develop2_traits branch November 11, 2022 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants