### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.3 Documentation »
- cmake-variables(7) »

# 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 CMAKE_BINARY_DIR.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.3 Documentation »
- cmake-variables(7) »