Replies: 1 comment 2 replies
-
The reason why there is no more detailed or direct set of instructions in the user facing document to build projects is similar to why there are no packaging instructions at all; the sky's the limit and the projects can be built in any number of ways, which is intentional, as that is one of the goals of cmake-init. For the developer workflow, there is at least one reasonable path to assume as the default that the developer wishes to take, so there it's easy to set things up. There is no universal set of instructions for consumers, as one person's requirements could be wildly different from the next one's. https://cmake.org/cmake/help/latest/manual/cmake-variables.7.html contains a huge number of variables that all are useful to someone somewhere and cmake-init makes no attempts to prevent any of those variables from just working. For these reasons, I just left the consumer facing document as minimal as possible. |
Beta Was this translation helpful? Give feedback.
-
There are instructions and presets for building a project with conan dependencies as a developer, but I'm not clear how a regular user would do a build. Can someone point me in the right direction?
Right now, if I run conan to install packages:
And then run cmake as mentioned in
BUILDING.md
:It fails because it can't find the conan packages since the toolchain is not setup as it is when using the dev preset. Should I be adding a "user" preset that does the relevant setup? Is that something that should be part of
cmake-init
?(Pardon my ignorance if I'm missing something obvious...)
Beta Was this translation helpful? Give feedback.
All reactions