cmake / 3.23 / variable / cmake_cachefile_dir.html

CMAKE_CACHEFILE_DIR

This variable is used internally by CMake, and may not be set during the first configuration of a build tree. When it is set, it has the same value as CMAKE_BINARY_DIR. Use that variable instead.

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