mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Documentation: Configure cache dir in CMake settings for CLion
Without this, CMake would err out on a missing `/CLDR/version.txt`.
This commit is contained in:
parent
10ceacf5fb
commit
a0a860fa07
Notes:
sideshowbarker
2024-07-17 05:05:51 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/a0a860fa07 Pull-request: https://github.com/SerenityOS/serenity/pull/19015
1 changed files with 3 additions and 2 deletions
|
@ -12,10 +12,11 @@ After opening the `serenity` repository in CLion as a new project, the "`Open Pr
|
|||
|
||||
`CMake Options`:
|
||||
```
|
||||
-GNinja
|
||||
-DCMAKE_TOOLCHAIN_FILE=$CMakeProjectDir$/Build/x86_64/CMakeToolchain.txt
|
||||
-DCMAKE_PREFIX_PATH=$CMakeProjectDir$/Build/lagom-install
|
||||
-DCMAKE_TOOLCHAIN_FILE=$CMakeProjectDir$/Build/x86_64/CMakeToolchain.txt
|
||||
-DSERENITY_ARCH=x86_64
|
||||
-DSERENITY_CACHE_DIR=$CMakeProjectDir$/Build/caches
|
||||
-GNinja
|
||||
```
|
||||
|
||||
> CLion will complain that the toolchain file doesn't exist yet, if you haven't `cmake` for the SuperBuild step before. The SuperBuild configure step creates the Toolchain file.
|
||||
|
|
Loading…
Reference in a new issue