• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CMAKE_VS_GLOBALS
2----------------
3
4.. versionadded:: 3.13
5
6List of ``Key=Value`` records to be set per target as target properties
7:prop_tgt:`VS_GLOBAL_<variable>` with ``variable=Key`` and value ``Value``.
8
9For example:
10
11.. code-block:: cmake
12
13  set(CMAKE_VS_GLOBALS
14    "DefaultLanguage=en-US"
15    "MinimumVisualStudioVersion=14.0"
16    )
17
18will set properties ``VS_GLOBAL_DefaultLanguage`` to ``en-US`` and
19``VS_GLOBAL_MinimumVisualStudioVersion`` to ``14.0`` for all targets
20(except for ``INTERFACE`` libraries).
21
22This variable is meant to be set by a
23:variable:`toolchain file <CMAKE_TOOLCHAIN_FILE>`.
24