@@ -135,6 +135,7 @@ When the same invocation is found, the cached object file is used.
In order to enable ccache, some further options have to be passed to CMake when configuring:
- `-G Ninja` or `-G Ninja Multi-Config`, the ccache can only be invoked when using [makefile or ninja generators](https://cmake.org/cmake/help/latest/prop_tgt/LANG_COMPILER_LAUNCHER.html#prop_tgt:%3CLANG%3E_COMPILER_LAUNCHER).
- `-DCMAKE_CXX_COMPILER_LAUNCHER=ccache` actually use ccache when compiling `cpp` files
- `-DCMAKE_C_COMPILER_LAUNCHER=ccache` same for `c` files.
- `-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded` when using msvc, the default compiler invocation uses the `/Zi` flag (store debug info in `pdb` file).