CMake/Help/generator
Brad King db02be85a0 VS: Provide the default platform name to project code
The value of `CMAKE_VS_PLATFORM_NAME` is computed by Visual Studio
generators based on `CMAKE_GENERATOR_PLATFORM` or some default.
Prior to the VS 2019 generator, the default was always `Win32`.
However, for the `Visual Studio 16 2019` generator, the default is
based on the host platform.

Store the default in a new `CMAKE_VS_PLATFORM_NAME_DEFAULT` variable for
use by project code.  This is particularly useful in toolchain files
because they are allowed to set `CMAKE_GENERATOR_PLATFORM` and so
`CMAKE_VS_PLATFORM_NAME` is not yet known.  Of course the toolchain file
author knows whether it will set `CMAKE_GENERATOR_PLATFORM`, and if not
then `CMAKE_VS_PLATFORM_NAME_DEFAULT` provides the platform name that
will be used.

Fixes: #19177
2019-04-19 07:46:13 -04:00
..
Borland Makefiles.rst Add Help/generator/*.rst for Windows- and OS X-only generators 2013-10-15 11:17:08 -04:00
CodeBlocks.rst CodeBlocks: add option to exclude external files 2017-09-14 13:21:59 +03:00
CodeLite.rst CodeLite: Optionally use targets to create (sub)project files 2016-09-26 13:40:38 -04:00
Eclipse CDT4.rst Help: Organize and revise the cmake-generators.7 manual 2013-11-25 10:17:18 -05:00
Green Hills MULTI.rst GHS: Document usage of GHS_NO_SOURCE_GROUP_FILE 2019-02-08 13:07:00 -05:00
Kate.rst kate: add some documentation 2013-11-25 10:48:39 -05:00
MinGW Makefiles.rst Help: Clarify MinGW v. MSYS Makefiles generators (#15319) 2014-12-19 09:07:25 -05:00
MSYS Makefiles.rst Help: Clarify MinGW v. MSYS Makefiles generators (#15319) 2014-12-19 09:07:25 -05:00
Ninja.rst Help: Document Ninja generator conditional Fortran support 2016-09-22 13:53:10 -04:00
NMake Makefiles JOM.rst Add Help/generator/*.rst for Windows- and OS X-only generators 2013-10-15 11:17:08 -04:00
NMake Makefiles.rst Add Help/generator/*.rst for Windows- and OS X-only generators 2013-10-15 11:17:08 -04:00
Sublime Text 2.rst Help: Organize and revise the cmake-generators.7 manual 2013-11-25 10:17:18 -05:00
Unix Makefiles.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
Visual Studio 6.rst Drop Visual Studio 6 generator 2016-03-09 09:42:18 -05:00
Visual Studio 7 .NET 2003.rst Drop Visual Studio 7 .NET 2003 generator 2017-04-19 15:28:05 -04:00
Visual Studio 7.rst Drop Visual Studio 7 generator for VS .NET 2002 2016-03-11 08:53:50 -05:00
Visual Studio 8 2005.rst Drop Visual Studio 8 2005 generator 2018-04-02 10:08:10 -04:00
Visual Studio 9 2008.rst Help: Document VS generator default platform selection 2019-01-10 09:38:35 -05:00
Visual Studio 10 2010.rst Help: Document VS generator default platform selection 2019-01-10 09:38:35 -05:00
Visual Studio 11 2012.rst Help: Document VS generator default platform selection 2019-01-10 09:38:35 -05:00
Visual Studio 12 2013.rst VS: Add support for explicit 32-bit toolset selection via host=x86 2019-01-28 11:22:50 -05:00
Visual Studio 14 2015.rst VS: Add support for explicit 32-bit toolset selection via host=x86 2019-01-28 11:22:50 -05:00
Visual Studio 15 2017.rst VS: Add support for explicit 32-bit toolset selection via host=x86 2019-01-28 11:22:50 -05:00
Visual Studio 16 2019.rst VS: Provide the default platform name to project code 2019-04-19 07:46:13 -04:00
VS_TOOLSET_HOST_ARCH.txt VS: Add support for explicit 32-bit toolset selection via host=x86 2019-01-28 11:22:50 -05:00
Watcom WMake.rst Add Help/generator/*.rst for Windows- and OS X-only generators 2013-10-15 11:17:08 -04:00
Xcode.rst Xcode: deprecate support for Xcode 4 2019-02-06 06:53:42 -05:00