2017-04-14 19:02:05 +02:00
|
|
|
CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE
|
|
|
|
-------------------------------------------
|
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.8
|
|
|
|
|
2017-04-14 19:02:05 +02:00
|
|
|
Visual Studio preferred tool architecture.
|
|
|
|
|
2019-11-11 23:01:05 +01:00
|
|
|
The :ref:`Visual Studio Generators` for VS 2013 and above support using
|
|
|
|
either the 32-bit or 64-bit host toolchains by specifying a ``host=x86``
|
|
|
|
or ``host=x64`` value in the :variable:`CMAKE_GENERATOR_TOOLSET` option.
|
|
|
|
CMake provides the selected toolchain architecture preference in this
|
2022-08-04 22:12:04 +02:00
|
|
|
variable (``x86``, ``x64``, ``ARM64`` or empty).
|