CMAKE_CACHEFILE_DIR

From Get docs
Cmake/docs/3.21/variable/cmake cachefile dir


CMAKE_CACHEFILE_DIR

The directory with the CMakeCache.txt file.

This is the full path to the directory that has the CMakeCache.txt file in it. This is the same as CMAKE_BINARY_DIR.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_CACHEFILE_DIR.html