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

Improve how to use CMake and Ninja as generator #3767

Open
uilianries opened this issue Jun 7, 2024 · 0 comments
Open

Improve how to use CMake and Ninja as generator #3767

uilianries opened this issue Jun 7, 2024 · 0 comments
Assignees
Milestone

Comments

@uilianries
Copy link
Member

Few years ago I answered a question in Stackoverflow (Sorry Memsharded, I had that one!)

https://stackoverflow.com/questions/71548337/how-to-choose-ninja-as-cmake-generator-with-conan/71613990#71613990

However, past few weeks it has been marked as useful. And, it's was an answer more focused in Conan 1.x (because the question was about Conan 1.x).

Checking the documentation, we have few references about Ninja: https://docs.conan.io/2/search.html?q=ninja&check_keywords=yes&area=default

So it would be great if we could add a small example using CMake + Ninja in https://docs.conan.io/2/examples/tools/cmake/cmake.html and use it as reference. Personally, I use Ninja by default in my environments.

We could show passing via recipe generator="Ninja" and configuration.

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

No branches or pull requests

2 participants