W3cubDocs

/CMake 3.19

CMAKE_VS_GLOBALS

New 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.

© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.19/variable/CMAKE_VS_GLOBALS.html