cmake/Help/variable/CMAKE_HOME_DIRECTORY.rst

10 lines
358 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_HOME_DIRECTORY
--------------------
2019-11-11 23:01:05 +01:00
Path to top of source tree. Same as :variable:`CMAKE_SOURCE_DIR`.
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
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.