Skip to content

Conversation

@memsharded
Copy link
Member

Close #4151

Opening it for team feedback, maybe this is not the best location or approach.

@memsharded memsharded added this to the 2.19 milestone Jul 1, 2025
If you inspect the ``conanfile.py``, you can see it contains a ``build()`` method, with the instructions how to
configure and build this project, using some Conan helpers such as ``cmake.configure()`` and ``cmake.build()``.

It is not important to fully understand the ``build()`` method now, it will explained later in the tutorial.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It is not important to fully understand the ``build()`` method now, it will explained later in the tutorial.
It is not important to fully understand the ``build()`` method now, it will be explained later in the tutorial.

The ``conan new`` command creates a simple project containing a ``conanfile.py``, a ``CMakeLists.txt`` and some C++ code.
If you inspect the ``conanfile.py``, you can see it contains a ``build()`` method, with the instructions how to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you inspect the ``conanfile.py``, you can see it contains a ``build()`` method, with the instructions how to
If you inspect the ``conanfile.py``, you can see that it contains a ``build()`` method, with the instructions on how to

@memsharded memsharded marked this pull request as ready for review July 2, 2025 09:01
@czoido
Copy link
Contributor

czoido commented Jul 4, 2025

Pending to update examples2, I created an issue there so we don't forget conan-io/examples2#189

@czoido czoido merged commit 2cef576 into conan-io:develop2 Jul 4, 2025
2 checks passed
@memsharded memsharded deleted the feature/conan_build_tutorial branch July 7, 2025 07:31
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

Successfully merging this pull request may close these issues.

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

3 participants