mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Documentation: Add how-to for building with homebrew clang on macOS
This commit is contained in:
parent
b832837106
commit
322b088505
Notes:
sideshowbarker
2024-07-17 07:19:27 +09:00
Author: https://github.com/sideshowbarker Commit: https://github.com/LadybirdBrowser/ladybird/commit/322b088505 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/525 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 7 additions and 0 deletions
|
@ -136,6 +136,13 @@ cmake --preset default -DENABLE_QT=ON
|
|||
|
||||
To re-disable the Qt chrome, run the above command with `-DENABLE_QT=OFF`.
|
||||
|
||||
On macOS, to build with clang from homebrew:
|
||||
|
||||
```
|
||||
brew install llvm
|
||||
CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++ ./Meta/ladybird.sh run
|
||||
```
|
||||
|
||||
### Resource files
|
||||
|
||||
Ladybird requires resource files from the ladybird/Base/res directory in order to properly load
|
||||
|
|
Loading…
Reference in a new issue