diff options
author | Brad King <brad.king@kitware.com> | 2019-01-28 15:44:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-28 16:22:50 (GMT) |
commit | 17cef3806d958bd03ec08b925fe585a0cfa204fa (patch) | |
tree | 897247990290b9e33d9b276a508c27d82452db8c /Help/generator/VS_TOOLSET_HOST_ARCH.txt | |
parent | bf774e521b0a08dd8e09a93f76471cad593db3c6 (diff) | |
download | CMake-17cef3806d958bd03ec08b925fe585a0cfa204fa.zip CMake-17cef3806d958bd03ec08b925fe585a0cfa204fa.tar.gz CMake-17cef3806d958bd03ec08b925fe585a0cfa204fa.tar.bz2 |
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``.
Diffstat (limited to 'Help/generator/VS_TOOLSET_HOST_ARCH.txt')
-rw-r--r-- | Help/generator/VS_TOOLSET_HOST_ARCH.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/generator/VS_TOOLSET_HOST_ARCH.txt b/Help/generator/VS_TOOLSET_HOST_ARCH.txt index 5d13e77..4eb900f 100644 --- a/Help/generator/VS_TOOLSET_HOST_ARCH.txt +++ b/Help/generator/VS_TOOLSET_HOST_ARCH.txt @@ -1,6 +1,7 @@ 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 a ``host=x64`` option to the toolset specification. +(independent of the architecture they target). +|VS_TOOLSET_HOST_ARCH_DEFAULT| +One may explicitly request use of either the 32-bit or 64-bit host tools +by adding either ``host=x86`` or ``host=x64`` to the toolset specification. See the :variable:`CMAKE_GENERATOR_TOOLSET` variable for details. |