mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
VS: Add support for explicit 32-bit toolset selection via host=x86
Generalize the ``host=x64`` option in `CMAKE_GENERATOR_TOOLSET` to also support ``host=x86``.
This commit is contained in:
@@ -44,8 +44,8 @@ Supported pairs are:
|
||||
and above with the CUDA toolkit VS integration installed.
|
||||
See the :variable:`CMAKE_VS_PLATFORM_TOOLSET_CUDA` variable.
|
||||
|
||||
``host=x64``
|
||||
Request use of the native ``x64`` toolchain on ``x64`` hosts.
|
||||
``host=<arch>``
|
||||
Specify the host tools architecture as ``x64`` or ``x86``.
|
||||
Supported by VS 2013 and above.
|
||||
See the :variable:`CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE`
|
||||
variable.
|
||||
|
||||
@@ -3,8 +3,8 @@ CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE
|
||||
|
||||
Visual Studio preferred tool architecture.
|
||||
|
||||
The :ref:`Visual Studio Generators` for VS 2013 and above support optional
|
||||
selection of a 64-bit toolchain on 64-bit hosts by specifying a ``host=x64``
|
||||
value in the :variable:`CMAKE_GENERATOR_TOOLSET` option. CMake provides
|
||||
the selected toolchain architecture preference in this variable (either
|
||||
``x64`` or empty).
|
||||
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
|
||||
variable (``x86``, ``x64``, or empty).
|
||||
|
||||
Reference in New Issue
Block a user