This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Use cpp_info.frameworks instead of cpp_info.exe_link_flags#113
Open
uilianries wants to merge 9 commits into
Open
Use cpp_info.frameworks instead of cpp_info.exe_link_flags#113uilianries wants to merge 9 commits into
uilianries wants to merge 9 commits into
Conversation
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Member
Author
|
All conflicts has been solved. |
Signed-off-by: Uilian Ries <uilianries@gmail.com>
…o hook/osx-frameworks
Signed-off-by: Uilian Ries <uilianries@gmail.com>
SSE4
reviewed
Nov 13, 2019
|
|
||
| @run_test("KB-H033", output) | ||
| def test(out): | ||
| if "cpp_info.shared_link_flags" in conanfile_content and "-framework" in conanfile_content: |
Contributor
There was a problem hiding this comment.
that might trigger false positives, need to reduce scope of test
Member
Author
There was a problem hiding this comment.
can you elaborate some idea?
Contributor
There was a problem hiding this comment.
having something like:
self.cpp_info.shared_link_flags = ["-B,Symbolic"]
...
tools.replace_in_file("Makefile", "-framework Foundation", "-framework CoreFoundation")
will result in false positive I believe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on Apple Framework support, now all recipes using
exe_link_flagsfor OSX framework should usecpp_info.frameworksinstead.closes #108
Wiki:
#KB-H033: "APPLE FRAMEWORK"
When liking Apple frameworks into your current recipe, instead of
self.cpp_info.shared_link_flags, useself.cpp_info.frameworks: