summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorToolset/TestToolsetHostArchOnly_x86.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-28 15:44:51 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-28 16:22:50 (GMT)
commit17cef3806d958bd03ec08b925fe585a0cfa204fa (patch)
tree897247990290b9e33d9b276a508c27d82452db8c /Tests/RunCMake/GeneratorToolset/TestToolsetHostArchOnly_x86.cmake
parentbf774e521b0a08dd8e09a93f76471cad593db3c6 (diff)
downloadCMake-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 'Tests/RunCMake/GeneratorToolset/TestToolsetHostArchOnly_x86.cmake')
-rw-r--r--Tests/RunCMake/GeneratorToolset/TestToolsetHostArchOnly_x86.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorToolset/TestToolsetHostArchOnly_x86.cmake b/Tests/RunCMake/GeneratorToolset/TestToolsetHostArchOnly_x86.cmake
new file mode 100644
index 0000000..26926f9
--- /dev/null
+++ b/Tests/RunCMake/GeneratorToolset/TestToolsetHostArchOnly_x86.cmake
@@ -0,0 +1,2 @@
+message(STATUS "CMAKE_VS_PLATFORM_TOOLSET='${CMAKE_VS_PLATFORM_TOOLSET}'")
+message(STATUS "CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE='${CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE}'")