CMake: Add a command for codesigning with the get-task-allow entitlement

This allows developers on macOS to open Ladybird.app in Instruments.

Add some documentation for how to use the command as well. It is enabled
automatically when CMAKE_BUILD_TYPE is not Release or RelWithDebInfo.
This commit is contained in:
Andrew Kaster 2024-06-29 20:06:23 -06:00 committed by Andrew Kaster
commit d220cf3abd
Notes: sideshowbarker 2024-07-17 09:48:50 +09:00
3 changed files with 34 additions and 1 deletions

8
Meta/debug.plist Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.get-task-allow</key>
<true/>
</dict>
</plist>