-
Notifications
You must be signed in to change notification settings - Fork 255
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
CMake toolchain for integration with Conan using cmake-conan, cmake-conan-setup. #449
Comments
I would really like this feature to be made official by conan.io folks and actively maintained, so it does not meet the same sudden end, as cmake-conan did. Conan.io folks are breaking expected user space functionality far too often for our liking and this is forcing us to really consider switching away from conan as a package manager. |
Hi @saukijan, Could you please provide more details on the breaking changes we made? Have you opened any issues with them? Thanks |
Hi @hwhsu1231, |
sure @czoido, I opened issues both on conan-io and conan-center-index as well as contributed packages I also chimed in on existing issues, when relevant. Regarding breaking changes, the artifactory migration comes to mind first. Sure it was not your fault, but it definitely was handled poorly. After that, the SSL certification issues, which caused the whole service outage, then pre v1.43 conan simply not working with the new conan-center, now this planned conan v2.0 changes and deprecation of cmake-conan and old cmake generators. It adds up and makes it harder than necessary to get conan adopted in-house as a standard tool, especially when we have to keep telling devs: "Oh it's a conan issue, we know. Wait for the next conan update that should fix it" - it erodes trust in the tool as a whole and trust is already hard to build up. Change is always hard and painful, I get that, but asking devs to have to keep changing their workflow to make a package manager work simply is ridiculous, especially when it comes out of the blue (though this is more of a personal problem of not keeping up with conan blogs) I understand that conan.io folks have a lot on their plate and that you feel like the whole community is trying to pull you in different and contradicting directions. Conan project looks really great and the idea of it is of great value to the C++ community as a whole, but this combative tone really paints a bad picture of conan.io, a simple "Thanks for your work, we will look into it later" instead would go much further. I want to love conan and help it grow into the defacto C++ package manager, but this whole affair makes me second guess that desire. |
I wanted to aplogize if my tone seemed combatibe, It was not the intention at all. I really wanted to know If I you had some issues I could help you with. Thanks a lot for your feedback. |
Project Link
https://github.com/hwhsu1231/cmake-conan-setup
Introduction
Dear Conan Team,
This project is my Solution to the issue that I posted before:
I've already writen down the Motivation, Usage, Mechanism, Demonstration...etc in this project. Please take a look. First of all, it is required for
conan_cmake_install()
supporting--conf
argument in this project. See more details on this PR:conan install
command. #445However, this PR is not yet merged to the
master
branch even thedevelop
branch for now. So I have to prepare a modified version ofconan.cmake
in this project. Hope this PR can be merged as soon as possible. Otherwise, an error due to includingconan_toolchain.cmake
when using non-default CMake generators might occur. For example, using MSVC compilers with Ninja generator:Click to expand
It is because the default generator on Windows is Visual Studio generator. Therefore the
conan_toolchain.cmake
generated by CMakeToolchain will have the following two lines, which shouldn't be specified when using Ninja generator.Hope Conan Team take over this project
I'm willing to transfer this project if Conan Team thinks it is worth maintaining. Here are the reasons:
And my requests are:
Alternatively, if Conan Team wants to be collaborators of this project, then I can add them into this project.
If Conan Team has the willingness, please let me know. Thanks.
Haowei
The text was updated successfully, but these errors were encountered: