Skip to content

Commit

Permalink
cmake_layout new values (#2618)
Browse files Browse the repository at this point in the history
  • Loading branch information
lasote committed Jun 28, 2022
1 parent 1279540 commit caebc52
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions reference/conanfile/tools/cmake/cmake_layout.rst
Expand Up @@ -36,7 +36,7 @@ These are the values assigned by the ``cmake_layout``:
- ``conanfile.folders.source``: *src_folder* argument or ``.`` if not specified.
- ``conanfile.folders.build``:
- ``build``: if the cmake generator is multi-configuration.
- ``cmake-build-debug`` or ``cmake-build-debug``: if the cmake generator is single-configuration, depending on the
- ``build/Debug`` or ``build/Release``: if the cmake generator is single-configuration, depending on the
build_type.
- ``conanfile.folders.generators``: ``build/generators``
- ``conanfile.cpp.source.includedirs``: ``["include"]``
Expand Down Expand Up @@ -68,9 +68,9 @@ For the previous example, the values assigned by the ``cmake_layout`` (installin
configuration) would be:

- ``conanfile.folders.build``:
- ``build-apple-clang-shared_false``: if the cmake generator is multi-configuration.
- ``cmake-build-debug-apple-clang-shared_false``: if the cmake generator is single-configuration.
- ``conanfile.folders.generators``: ``build-apple-clang-shared_false/generators``
- ``build/apple-clang-shared_false``: if the cmake generator is multi-configuration.
- ``build/apple-clang-shared_false/Debug``: if the cmake generator is single-configuration.
- ``conanfile.folders.generators``: ``build/generators``

If we repeat the previous install with a different configuration:

Expand All @@ -81,8 +81,8 @@ If we repeat the previous install with a different configuration:
The values assigned by the ``cmake_layout`` (installing the Release/shared configuration) would be:

- ``conanfile.folders.build``:
- ``build-apple-clang-shared_true``: if the cmake generator is multi-configuration.
- ``cmake-build-debug-apple-clang-shared_true``: if the cmake generator is single-configuration.
- ``build/apple-clang-shared_true``: if the cmake generator is multi-configuration.
- ``build/apple-clang-shared_true/Debug``: if the cmake generator is single-configuration.
- ``conanfile.folders.generators``: ``build-apple-clang-shared_true/generators``


Expand Down

0 comments on commit caebc52

Please sign in to comment.