Documentation: Add how-to for building with homebrew clang on macOS

This commit is contained in:
sideshowbarker
2024-07-09 14:24:59 +09:00
committed by Andrew Kaster
parent b832837106
commit 322b088505

View File

@@ -136,6 +136,13 @@ cmake --preset default -DENABLE_QT=ON
To re-disable the Qt chrome, run the above command with `-DENABLE_QT=OFF`. 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 ### Resource files
Ladybird requires resource files from the ladybird/Base/res directory in order to properly load Ladybird requires resource files from the ladybird/Base/res directory in order to properly load