Closed zhangshiyu12345 closed 1 month ago
Hi @zhangshiyu12345, Thanks for the question. Could you please elaborate a bit more on your use case? Libraries do not contain conan packages, do you mean the opposite? Do you have packages with the same name that contain different libraries?
I now have two libraries, demo1 and demo2, both of which have a conan package called gang-test, and now I'm going to use the package from demo1 ,now how to distinguish between them in the conandata.yml
Now I need to add both of the same name packages in demo1 and demo2 to the conandata.yml, how can this be fixed
Hi @zhangshiyu12345 ,
demo1
and demo2
are completely different libraries and unrelated you should package them in Conan packages with different names. gang-test
to the conandata.yml
and they both should be available. You could also differentiate those libraries as components, you can check the docs here: https://docs.conan.io/2/examples/conanfile/package_info/components.htmlHope this helps.
Hi @zhangshiyu12345, Is this still an issue o may we close the ticket? Thanks a lot!
Closing the ticket, please feel free to reopen or open a new one if you have any more questions.
How do I have two libraries that contain Conan packages with the same name, now how do I introduce packages from one library in conandata.yml file to distinguish them?