CMake/Help/variable/PROJECT_NAME.rst
Craig Scott 6a2a9d107d Help: Fix incorrect CMAKE_PROJECT_xxx docs
The docs for CMAKE_PROJECT_NAME and CMAKE_PROJECT_DESCRIPTION
were erroneously documenting the behavior of PROJECT_NAME and
PROJECT_DESCRIPTION respectively. Fix these and update the
project() docs to also mention CMAKE_PROJECT_NAME and
CMAKE_PROJECT_DESCRIPTION.

Fixes: #17815
2018-03-14 07:33:38 +11:00

9 lines
292 B
ReStructuredText

PROJECT_NAME
------------
Name of the project given to the project command.
This is the name given to the most recently called :command:`project`
command in the current directory scope or above. To obtain the name of
the top level project, see the :variable:`CMAKE_PROJECT_NAME` variable.