Back to Cmake

CMAKE_VS_PLATFORM_NAME

Help/variable/CMAKE_VS_PLATFORM_NAME.rst

4.3.2400 B
Original Source

CMAKE_VS_PLATFORM_NAME

.. versionadded:: 3.1

Visual Studio target platform name used by the current generator.

VS 8 and above allow project files to specify a target platform. CMake provides the name of the chosen platform in this variable. See the :variable:CMAKE_GENERATOR_PLATFORM variable for details.

See also the :variable:CMAKE_VS_PLATFORM_NAME_DEFAULT variable.