https://github.com/Kitware/CMake
Raw File
Tip revision: 1b4482f65dd41f21ec8abc0777b8dc1f0381bbd6 authored by Brad King on 26 November 2019, 14:18:07 UTC
CMake 3.16.0
Tip revision: 1b4482f
CMAKE_VS_GLOBALS.rst
CMAKE_VS_GLOBALS
----------------

List of ``Key=Value`` records to be set per target as target properties
:prop_tgt:`VS_GLOBAL_<variable>` with ``variable=Key`` and value ``Value``.

For example:

.. code-block:: cmake

  set(CMAKE_VS_GLOBALS
    "DefaultLanguage=en-US"
    "MinimumVisualStudioVersion=14.0"
    )

will set properties ``VS_GLOBAL_DefaultLanguage`` to ``en-US`` and
``VS_GLOBAL_MinimumVisualStudioVersion`` to ``14.0`` for all targets
(except for ``INTERFACE`` libraries).

This variable is meant to be set by a
:variable:`toolchain file <CMAKE_TOOLCHAIN_FILE>`.
back to top