<PROJECT-NAME>_SOURCE_DIR — CMake 3.4.3 Documentation

### Navigation

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

# <PROJECT-NAME>_SOURCE_DIR

Top level source directory for the named project.

A variable is created with the name used in the `project()` command, and is the source directory for the project. This can be useful when `add_subdirectory()` is used to connect several projects.

### Navigation

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