Skip to content

[question] Should the "conan build" command be more prominent in the tutorial? #4151

Closed
@samherrmann

Description

@samherrmann

What is your question?

I am a couple of weeks into my Conan journey and it was only today that I realized that building a "hello world" app from a clean slate using Conan is as simple as:

conan new cmake_exe
conan build .

When I started looking into Conan, I started with the Build a simple CMake project using Conan tutorial followed by the CMakeToolchain: Building your project using CMakePresets tutorial (which is linked at the bottom of the first tutorial). Both of these tutorials use the conan install command and cmake commands. Neither introduce new users to the conan build command.

Today when I became aware of the conan buid command I then searched the website for it and saw that it's being used in the Package Development Flow. I remember coming across that page earlier on, but after reading the first paragraph I skipped it because I didn't yet need to know about working on packages without having to export the contents of the package to the Conan cache first.

I think the fact that we can build a "hello world" app using Conan with only two simple command is super cool! 🙂 So it just makes me wonder, shouldn't that awesome and simple capability be more in the face of newcomers?

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions