mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05: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
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`:
|
`CMake Options`:
|
||||||
```
|
```
|
||||||
-GNinja
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=$CMakeProjectDir$/Build/x86_64/CMakeToolchain.txt
|
|
||||||
-DCMAKE_PREFIX_PATH=$CMakeProjectDir$/Build/lagom-install
|
-DCMAKE_PREFIX_PATH=$CMakeProjectDir$/Build/lagom-install
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=$CMakeProjectDir$/Build/x86_64/CMakeToolchain.txt
|
||||||
-DSERENITY_ARCH=x86_64
|
-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.
|
> 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…
Add table
Reference in a new issue