Back to Cmake

VS_DEBUGGER_ENVIRONMENT

Help/prop_tgt/VS_DEBUGGER_ENVIRONMENT.rst

4.3.2555 B
Original Source

VS_DEBUGGER_ENVIRONMENT

.. versionadded:: 3.13

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

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