Xcode: Use DEBUGGER_WORKING_DIRECTORY as a fallback for scheme work dir

This also means when XCODE_SCHEME_WORKING_DIRECTORY is
set and a Xcode generator is used, that property will be used when
writing the debugger field in the file API replies.

Fixes: #26909
This commit is contained in:
Craig Scott
2025-05-02 17:05:16 +10:00
committed by Brad King
parent 0f1b9ef32a
commit 149ee3b4bc
6 changed files with 27 additions and 5 deletions
+2
View File
@@ -132,6 +132,8 @@ public:
cmMakefile* mf) override;
void AppendFlag(std::string& flags, std::string const& flag) const;
cmValue GetDebuggerWorkingDirectory(cmGeneratorTarget* gt) const override;
enum class BuildSystem
{
One = 1,