CMake/Help/variable/CMAKE_SOURCE_DIR.rst

9 lines
236 B
ReStructuredText

CMAKE_SOURCE_DIR
----------------
The path to the top level of the source tree.
This is the full path to the top level of the current CMake source
tree. For an in-source build, this would be the same as
:variable:`CMAKE_BINARY_DIR`.