conan-io / meta-conan

Yocto layer for the Conan project
23 stars 28 forks source link

Is Conan 1.x still supported? #56

Open nrclark opened 1 month ago

nrclark commented 1 month ago

Does this project still support Conan 1.x? I work in an organization with a large set of Conan 1.x packages, and we want to make a Yocto project that includes a number of them.

memsharded commented 1 month ago

Hi @nrclark

I am afraid that this has been updated for Conan 2 syntax.

However, I'd suggest to have a look to https://github.com/conan-io/meta-conan/blob/a6dab8cd63f80a72c1fbb96c15dd3a04f341e8e4/classes/conan.bbclass#L76, the file implementing the integration is actually short and not difficult, I think doing a couple of minor changes from this line, you should be able to make it work.

Of course, I'd like to suggest to prioritize the upgrade to Conan2 before initiating other projects Conan 2 was released 16 months ago already, and it is now the recommended version in production. ConanCenter will stop getting updates or new packages or fixes for Conan 1 soon, for example. I know it can be a large effort, ConanCenter itself had to upgrade +1500 recipes for dozens of binary configurations, so please let us know if you have any questions, we are willing to do our best to support users in the upgrade to Conan 2.