summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_HOME_DIRECTORY.rst
blob: b03d9561865bdd18c3ada05f22cdb51b89f4681f (plain)
1
2
3
4
5
6
7
8
9
CMAKE_HOME_DIRECTORY
--------------------

Path to top of source tree. Same as :variable:`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 :variable:`CMAKE_SOURCE_DIR`
has the same value and should be preferred.