Support for generating XCode scheme action property customLLDBInitFile
In XCode it's sometimes necessary to have a LLDB Init file to allow a customized debugging environment. e.g. default signal behavior is to breakpoint, but this is not always desirable, so can be customized in the file.
In the XCode GUI The way to specify an LLDB Init file is through the "Product->Scheme->Edit Scheme...->Info (Tab)->LLDB Init File (Field). This modifies the property of the selected scheme action.
It seems to be available for the TestAction and LaunchAction actions of each scheme
e.g. after setting the value for both actions to $(SRCROOT)/LLDBInitFile
:
<Scheme>
<TestAction>...<customLLDBInitFile>$(SRCROOT)/LLDBInitFile</customLLDBInitFile>...</TestAction>
<LaunchAction>...<customLLDBInitFile>$(SRCROOT)/LLDBInitFile</customLLDBInitFile>...</LaunchAction>
It would be great if this property could be controlled in CMake XCode scheme generation, either for a specific target scheme, or globally for all target schemes.
Edited by iansusername