Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pkg_config][PkgConfigDeps] Checking PC files creation order #10344

Merged

Conversation

franramirez688
Copy link
Contributor

@franramirez688 franramirez688 commented Jan 14, 2022

Changelog: Feature: Testing the expected PC files created when the component name matches with the root package one using either pkg_config or PkgConfigDeps generators.
Closes: #10341
Docs: conan-io/docs#2378

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.

@@ -492,18 +492,18 @@ def package_info(self):
self.cpp_info.components["cmp3"].set_property("pkg_config_name", "libpkg")
""")
client.save({"conanfile.py": conanfile})
client.run("create . pkgB/1.0@")
client.run("create . pkgb/1.0@")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To lowercase, to avoid failures in Conan 2.0

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.

[feature] Make the generation order of .pc files deterministic for PkgConfigDeps and pkg_config
3 participants