Files
CMake/Help/variable/CMAKE_CACHEFILE_DIR.rst
Tobias Nießen cf4100d7da Help: Add that CMAKE_CACHEFILE_DIR might not be defined
CMake only sets `CMAKE_CACHEFILE_DIR` when writing `CMakeCache.txt`,
so the variable will usually be undefined when `CMakeLists.txt` runs.
Revise its documentation to clarify that `CMAKE_BINARY_DIR` should
be used instead.
2022-03-30 09:20:18 -04:00

7 lines
251 B
ReStructuredText

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 :variable:`CMAKE_BINARY_DIR`. Use that variable instead.