Skip to content
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

cascade+editable builds #3550

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tutorial/developing_packages/editable_packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,11 @@ Note that if we don't pass the ``--build=editable`` to ``conan build hello``, th
won't be available and it will fail. With the ``--build=editable``, first a build of the ``say`` binaries is done locally and
incrementally, and then another incremental build of ``hello`` will be done. Everything will still happen locally, with no packages
built in the cache. If there are multiple ``editable`` dependencies, with nested transitive dependencies, Conan will build them
in the right order.
in the right order.

If editable packages have dependants in the Conan cache, it is possible to force the rebuild from source of the
cache dependants by using ``--build=editable --build=cascade``. In general this should be avoided, and the recommendation if it
is needed to rebuild those dependencies is to put them in editable mode too.

Note that it is possible to build and test a package in editable with with its own ``test_package`` folder.
If a package is put in ``editable`` mode, and if it contains a ``test_package`` folder, the ``conan create`` command
Expand Down