conan-io / conan-io/docs

Improve how to use CMake and Ninja as generator

Open
#3,767 0 comments 0 reactions 1 assignee Claimed by @uilianries View on GitHub
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.