Skip to content

Commit

Permalink
The settings.build_type value is forbidden in tools.cmake.cmake_layou…
Browse files Browse the repository at this point in the history
…t:build_folder_vars (#2614)
  • Loading branch information
lasote committed Jun 28, 2022
1 parent c7cd769 commit 69e3517
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reference/conanfile/tools/cmake/cmake_layout.rst
Expand Up @@ -92,3 +92,8 @@ The ``CMakePresets.json`` file generated at the :ref:`CMakeToolchain<conan-cmake
generator, will also take this ``tools.cmake.cmake_layout:build_folder_vars`` config into account to generate different
names for the presets, being very handy to install N configurations and building our project for any of them by
selecting the chosen preset.

.. note::

The ``settings.build_type`` value is forbidden in ``tools.cmake.cmake_layout:build_folder_vars`` because the
build_type is already managed automatically with multi-config support in ``CMakeDeps`` and ``CMakeToolchain``.

0 comments on commit 69e3517

Please sign in to comment.