Help: Document what project() calls use CMAKE_PROJECT_INCLUDE and friends

Fixes: #19340
This commit is contained in:
Brad King
2019-06-17 11:06:07 -04:00
parent a423194311
commit 8a08d0c092
3 changed files with 19 additions and 9 deletions

View File

@@ -1,6 +1,9 @@
CMAKE_PROJECT_INCLUDE CMAKE_PROJECT_INCLUDE
--------------------- ---------------------
A CMake language file or module to be included by the :command:`project` A CMake language file or module to be included as the last step of all
command. This is intended for injecting custom code into project :command:`project` command calls. This is intended for injecting custom code
builds without modifying their source. into project builds without modifying their source.
See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` and
:variable:`CMAKE_PROJECT_INCLUDE_BEFORE` variables.

View File

@@ -1,6 +1,9 @@
CMAKE_PROJECT_INCLUDE_BEFORE CMAKE_PROJECT_INCLUDE_BEFORE
---------------------------- ----------------------------
A CMake language file or module to be included before processing the A CMake language file or module to be included as the first step of all
:command:`project` command. This is intended for injecting custom code into :command:`project` command calls. This is intended for injecting custom code
project builds without modifying their source. into project builds without modifying their source.
See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` and
:variable:`CMAKE_PROJECT_INCLUDE` variables.

View File

@@ -1,6 +1,10 @@
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE
------------------------------------ ------------------------------------
A CMake language file or module to be included by the :command:`project` A CMake language file or module to be included as the last step of any
command. This is intended for injecting custom code into project :command:`project` command calls that specify ``<PROJECT-NAME>`` as the project
builds without modifying their source. 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.