2018-10-28 12:09:07 +01:00
|
|
|
CMAKE_VS_GLOBALS
|
|
|
|
----------------
|
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.13
|
|
|
|
|
2018-10-28 12:09:07 +01:00
|
|
|
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>`.
|