VS_DEBUGGER_ENVIRONMENT — CMake 3.29.3 Documentation

# VS_DEBUGGER_ENVIRONMENT

New 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 12 2013 and above; it is ignored on other generators.