1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Update documentation to suggest using option ENABLE_CCACHE instead of directly setting CMAKE_C(XX)_COMPILER_LAUNCHER

This commit is contained in:
Joakim Thorén
2023-12-27 21:13:41 +01:00
parent fce3b5b83c
commit 2569e1c661
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ cmake ../vcmi
**Notice**: The ../vcmi/ is not a typo, it will place makefile scripts into the build dir as the build dir is your working dir when calling CMake.
## To use ccache:
`cmake ../vcmi -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_C_COMPILER_LAUNCHER=ccache`
`cmake ../vcmi -D ENABLE_CCACHE:BOOL=ON`
## Trigger build