CMAKE_HOME_DIRECTORY

From Get docs
Cmake/docs/3.21/variable/cmake home directory


CMAKE_HOME_DIRECTORY

Path to top of source tree. Same as CMAKE_SOURCE_DIR.

This is an internal cache entry used to locate the source directory when loading a CMakeCache.txt from a build tree. It should not be used in project code. The variable CMAKE_SOURCE_DIR has the same value and should be preferred.

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