mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
Documentation: Add how-to for building a Debug binary
This commit is contained in:
parent
731431c870
commit
6d097a1aa9
Notes:
sideshowbarker
2024-07-17 02:57:43 +09:00
Author: https://github.com/sideshowbarker Commit: https://github.com/LadybirdBrowser/ladybird/commit/6d097a1aa9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/537
1 changed files with 8 additions and 1 deletions
|
@ -121,7 +121,14 @@ The simplest way to build and run ladybird is via the ladybird.sh script:
|
|||
./Meta/ladybird.sh gdb ladybird
|
||||
```
|
||||
|
||||
The above commands will build Ladybird with one of the following browser chromes, depending on the platform:
|
||||
The above commands will build a Release version of Ladybird. To instead build a Debug version, run the
|
||||
`Meta/ladybird.sh` script with the value of the `BUILD_PRESET` environment variable set to `Debug`, like this:
|
||||
|
||||
```bash
|
||||
BUILD_PRESET=Debug ./Meta/ladybird.sh run ladybird
|
||||
```
|
||||
|
||||
Either way, Ladybird will be built with one of the following browser chromes, depending on the platform:
|
||||
* [Android UI](https://developer.android.com/develop/ui) - The native chrome on Android.
|
||||
* [AppKit](https://developer.apple.com/documentation/appkit?language=objc) - The native chrome on macOS.
|
||||
* [Qt](https://doc.qt.io/qt-6/) - The chrome used on all other platforms.
|
||||
|
|
Loading…
Reference in a new issue