_SOURCE_DIR — CMake 3.6.3 Documentation (original) (raw)

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 whenadd_subdirectory() is used to connect several projects.