Skip to content

adding conan build in the tutorial #4152

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

Draft
wants to merge 1 commit into
base: develop2
Choose a base branch
from

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

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