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:
Jelle Raaijmakers 2023-05-24 12:44:51 +02:00 committed by Andreas Kling
parent 10ceacf5fb
commit a0a860fa07
Notes: sideshowbarker 2024-07-17 05:05:51 +09:00

View file

@ -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.