mirror of
https://github.com/reactos/CMake.git
synced 2024-12-16 16:16:33 +00:00
d079e71c29
Visual Studio provides toolchains that are themselves built for 32-bit or 64-bit host architectures. By default it uses the 32-bit tools, but it can be told to prefer the 64-bit tools on 64-bit hosts. Extend the `CMAKE_GENERATOR_TOOLSET` specification to provide a way to request use of the 64-bit host tools. Closes: #15622
11 lines
448 B
ReStructuredText
11 lines
448 B
ReStructuredText
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=64``
|
|
value in the :variable:`CMAKE_GENERATOR_TOOLSET` option. CMake provides
|
|
the selected toolchain architecture preference in this variable (either
|
|
``x64`` or empty).
|