DEBUGGER_WORKING_DIRECTORYΒΆ

Added in version 4.0.

Sets the local debugger working directory for C++ targets. The property value may use generator expressions. This property is initialized by the value of the variable CMAKE_DEBUGGER_WORKING_DIRECTORY if it is set when a target is created.

If the VS_DEBUGGER_WORKING_DIRECTORY property is also set, it will take precedence over DEBUGGER_WORKING_DIRECTORY when using one of the Visual Studio generators.

Similarly, if XCODE_SCHEME_WORKING_DIRECTORY is set, it will override DEBUGGER_WORKING_DIRECTORY when using the Xcode generator.