mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Add this generator *without* support for specifying the target architecture in the generator name. cmake-gui will be taught to provide a field for this, and command-line builds can use -A. Also, teach this generator to select a default target architecture based on the host architecture. Fixes: #18689 Inspired-by: Egor Pugin <egor.pugin@gmail.com>
14 lines
571 B
ReStructuredText
14 lines
571 B
ReStructuredText
vs2019
|
|
------
|
|
|
|
* The :generator:`Visual Studio 16 2019` generator was added. This is
|
|
experimental and based on "Visual Studio 2019 Preview 1.1" 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.
|