mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
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.
7 lines
251 B
ReStructuredText
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.
|