Skip to content

Fix and clarify description of self.folders.subproject #4159

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

Open
wants to merge 1 commit into
base: develop2
Choose a base branch
from
Open
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
5 changes: 3 additions & 2 deletions reference/conanfile/methods/layout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ self.folders
**self.folders.root**.

- **self.folders.subproject** (Defaulted to ``None``): Specifies a subfolder where the
``conanfile.py`` is relative to the project root. This is particularly useful for
:ref:`layouts with multiple subprojects<examples_conanfile_layout_multiple_subprojects>`
project is contained relative to ``self.folders.root``. This is particularly useful for
:ref:`layouts with multiple subprojects<examples_conanfile_layout_multiple_subprojects>`.
Most of the layout (e.g. source and build folder) is relocated inside this folder.

- **self.folders.build_folder_vars** (Defaulted to ``None``): Use settings, options and/or
``self.name`` and ``self.version`` to produce a different build folder and different CMake presets names.
Expand Down