mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 08:56:40 +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
|
@ -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