diff options
author | Brad King <brad.king@kitware.com> | 2019-06-18 11:55:49 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-06-18 11:56:08 (GMT) |
commit | a45f061296f6646c2633333fa034758dd23783d5 (patch) | |
tree | 80f504cfe546e7efdd05373764b64065f3b7ab23 /Help/variable | |
parent | 9c7ea95ab0961d6f0b6b317a45fbde9cb65dab1b (diff) | |
parent | 8a08d0c0926a9f950ff49d5547b374c0bd282440 (diff) | |
download | CMake-a45f061296f6646c2633333fa034758dd23783d5.zip CMake-a45f061296f6646c2633333fa034758dd23783d5.tar.gz CMake-a45f061296f6646c2633333fa034758dd23783d5.tar.bz2 |
Merge topic 'doc-project-include'
8a08d0c092 Help: Document what project() calls use CMAKE_PROJECT_INCLUDE and friends
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3453
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_PROJECT_INCLUDE.rst | 9 | ||||
-rw-r--r-- | Help/variable/CMAKE_PROJECT_INCLUDE_BEFORE.rst | 9 | ||||
-rw-r--r-- | Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst | 10 |
3 files changed, 19 insertions, 9 deletions
diff --git a/Help/variable/CMAKE_PROJECT_INCLUDE.rst b/Help/variable/CMAKE_PROJECT_INCLUDE.rst index 7de767a..965c94e 100644 --- a/Help/variable/CMAKE_PROJECT_INCLUDE.rst +++ b/Help/variable/CMAKE_PROJECT_INCLUDE.rst @@ -1,6 +1,9 @@ CMAKE_PROJECT_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 all +:command:`project` command calls. This is intended for injecting custom code +into project builds without modifying their source. + +See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` and +:variable:`CMAKE_PROJECT_INCLUDE_BEFORE` variables. diff --git a/Help/variable/CMAKE_PROJECT_INCLUDE_BEFORE.rst b/Help/variable/CMAKE_PROJECT_INCLUDE_BEFORE.rst index 12a5263..70b15e6 100644 --- a/Help/variable/CMAKE_PROJECT_INCLUDE_BEFORE.rst +++ b/Help/variable/CMAKE_PROJECT_INCLUDE_BEFORE.rst @@ -1,6 +1,9 @@ CMAKE_PROJECT_INCLUDE_BEFORE ---------------------------- -A CMake language file or module to be included before processing 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 first step of all +:command:`project` command calls. This is intended for injecting custom code +into project builds without modifying their source. + +See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` and +:variable:`CMAKE_PROJECT_INCLUDE` variables. 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. |