PROJECT_SOURCE_DIR

PROJECT_SOURCE_DIR

Top level source directory for the current project.

This is the source directory of the most recent project() command.

© 2000–2017 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.8/variable/PROJECT_SOURCE_DIR.html