mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 15:18:26 -05:00
0fd742a6ff
This generator is new so we can introduce the long-desired behavior of selecting ``host=x64`` tools by default on x64 hosts.
15 lines
649 B
ReStructuredText
15 lines
649 B
ReStructuredText
vs2019
|
|
------
|
|
|
|
* The :generator:`Visual Studio 16 2019` generator was added. This is
|
|
experimental and based on "Visual Studio 2019 Preview 2" because this
|
|
version of VS has not been released.
|
|
|
|
The VS 2019 generator differs from generators for earlier versions
|
|
in that it does not provide variants that specify the target platform
|
|
in the generator name. Instead :variable:`CMAKE_GENERATOR_PLATFORM`
|
|
must be used, e.g. through the ``-A`` command-line option. Furthermore,
|
|
the default target platform (architecture) is now based on the *host*
|
|
platform. The VS host toolset selection is now based on the host
|
|
architecture as well.
|