VS_DEBUGGER_ENVIRONMENT — CMake 3.31.2 Documentation

# VS_DEBUGGER_ENVIRONMENT

Added in version 3.13.

Sets the local debugger environment for Visual Studio C++ targets. The property value may use `generator expressions`. This is defined in `<LocalDebuggerEnvironment>` in the Visual Studio project file. This property is initialized by the value of the variable `CMAKE_VS_DEBUGGER_ENVIRONMENT` if it is set when a target is created.

This property only works for Visual Studio Generators; it is ignored on other generators.