Help/manual/presets/architecture-properties.rst
.. This file was generated by Utilities/Scripts/regenerate-presets.py from Help/manual/presets/schema.yaml. Do not edit.
.. _CMakePresets.configurePresets.architecture.value:
value
An optional string representing the value.
.. _CMakePresets.configurePresets.architecture.strategy:
strategy
An optional string telling CMake how to handle the field.
Valid values are:
"set"
Set the respective value. This will result in an error for generators
that do not support the respective field.
"external"
Do not set the value, even if the generator supports it. This is
useful if, for example, a preset uses the Ninja generator, and an IDE
knows how to set up the Visual C++ environment from the architecture
and toolset fields. In that case, CMake will ignore the field, but
the IDE can use them to set up the environment before invoking CMake.
If no strategy field is given, or if the field uses the string form
rather than the object form, the behavior is the same as "set".