mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
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:
@@ -13,3 +13,6 @@ created.
|
||||
If the :prop_tgt:`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 :prop_tgt:`XCODE_SCHEME_WORKING_DIRECTORY` is set, it will
|
||||
override ``DEBUGGER_WORKING_DIRECTORY`` when using the Xcode generator.
|
||||
|
||||
@@ -13,3 +13,5 @@ when a target is created.
|
||||
|
||||
Please refer to the :prop_tgt:`XCODE_GENERATE_SCHEME` target property
|
||||
documentation to see all Xcode schema related properties.
|
||||
|
||||
See also :prop_tgt:`DEBUGGER_WORKING_DIRECTORY`.
|
||||
|
||||
@@ -289,3 +289,7 @@ Changes made since CMake 4.0.0 include the following.
|
||||
This restores support for using LLVM/Clang on macOS without manually
|
||||
setting ``CMAKE_OSX_SYSROOT``, which was broken by CMake 4.0.0's
|
||||
removal of a default value.
|
||||
|
||||
* The :prop_tgt:`DEBUGGER_WORKING_DIRECTORY` target property is now
|
||||
used by the :generator:`Xcode` generator as a fallback for the
|
||||
:prop_tgt:`XCODE_SCHEME_WORKING_DIRECTORY` target property.
|
||||
|
||||
Reference in New Issue
Block a user