diff options
author | Brad King <brad.king@kitware.com> | 2019-06-17 15:06:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-17 15:06:07 (GMT) |
commit | 8a08d0c0926a9f950ff49d5547b374c0bd282440 (patch) | |
tree | dbf49ba241a495f5f28195ba728cee7347367c05 /Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst | |
parent | a4231943117f5ba3dd0fdc6c8b1824334162b69f (diff) | |
download | CMake-8a08d0c0926a9f950ff49d5547b374c0bd282440.zip CMake-8a08d0c0926a9f950ff49d5547b374c0bd282440.tar.gz CMake-8a08d0c0926a9f950ff49d5547b374c0bd282440.tar.bz2 |
Help: Document what project() calls use CMAKE_PROJECT_INCLUDE and friends
Fixes: #19340
Diffstat (limited to 'Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst')
-rw-r--r-- | Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst b/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst index 5ca40a3..3485c38 100644 --- a/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst +++ b/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst @@ -1,6 +1,10 @@ CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE ------------------------------------ -A CMake language file or module to be included by the :command:`project` -command. This is intended for injecting custom code into project -builds without modifying their source. +A CMake language file or module to be included as the last step of any +:command:`project` command calls that specify ``<PROJECT-NAME>`` as the project +name. This is intended for injecting custom code into project builds without +modifying their source. + +See also the :variable:`CMAKE_PROJECT_INCLUDE` and +:variable:`CMAKE_PROJECT_INCLUDE_BEFORE` variables. |