CMAKE_VS_GLOBALS — CMake 4.3.0 Documentation

# CMAKE_VS_GLOBALS

Added in version 3.13.

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

For example:

    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 `toolchain file`.