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

[question] Availability of new CMakeDeps generator #17788

Closed
1 task done
ottmar-zittlau opened this issue Feb 17, 2025 · 2 comments
Closed
1 task done

[question] Availability of new CMakeDeps generator #17788

ottmar-zittlau opened this issue Feb 17, 2025 · 2 comments
Assignees

Comments

@ottmar-zittlau
Copy link

What is your question?

Hi,

while testing the cmake-conan-wrapper (cf. also question conan-io/cmake-conan#682 (comment)) I found out that there is an experimental CMakeDeps-generator (cf. PR #16964) which seems to be necessary for using the wrapper with libraries that provide their own cmake-config-files.

I'd like to know, if this generator is going to replace the current one anytime soon?
My motivation is that I would like to use our own cmake-config-files and for ease of use also the cmake-conan-wrapper.
I think it would be possible to adapt the wrapper script to use the new generator, but before doing that, I wanted to make sure that it will be supported in the future.

Thanks!
oz

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded memsharded self-assigned this Feb 17, 2025
@memsharded
Copy link
Member

Hi @ottmar-zittlau

Thanks for your question

Yes, the intention of the new incubating CMakeDeps is to replace the other CMakeDeps generator, as a better general alternative.
I have already did in a branch the adaptations of the cmake-conan to use this new incubating generator. It is not there yet because it is too early, things need to mature a bit more until it can be used, even as experimental.

All feedback is welcome, it will help to stabilize and get out of "incubating" state. Thanks!

@ottmar-zittlau
Copy link
Author

@memsharded thanks again for the quick reply.

I think I found the branch (https://github.com/conan-io/cmake-conan/pull/674/files).
I will use it and see how far I come.

Best regards
oz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants