summaryrefslogtreecommitdiff
path: root/share/cmake-3.17/Help/variable/PROJECT-NAME_SOURCE_DIR.rst
blob: 4df3e223c15c7a6c082e03d828eb1a5970d40bf5 (plain)
1
2
3
4
5
6
7
8
<PROJECT-NAME>_SOURCE_DIR
-------------------------

Top level source directory for the named project.

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