mirror of
https://github.com/reactos/CMake.git
synced 2025-01-10 05:31:02 +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
521 B
Plaintext
11 lines
521 B
Plaintext
For each toolset that comes with this version of Visual Studio, there are
|
|
variants that are themselves compiled for 32-bit (x86) and 64-bit (x64) hosts
|
|
(independent of the architecture they target). By default Visual Studio
|
|
chooses the 32-bit variant even on a 64-bit host. One may request use of the
|
|
64-bit host tools by adding ``host=x64`` to the toolset specification:
|
|
|
|
``host=x64``
|
|
Select the 64-bit variant of the default toolset.
|
|
``<toolset>,host=x64``
|
|
Select the 64-bit variant of the ``<toolset>`` toolset.
|