summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2019-03-27 19:36:51 (GMT)
committerRuslan Baratov <ruslan_baratov@yahoo.com>2019-03-27 19:39:02 (GMT)
commitdda01904587627a3d2bda5b684f7bef1e62596bb (patch)
tree34b65ed71c604b1aaf6e46e92d15b7cebb66d1b8 /Help
parent390f14a24416f23801f5644eb51590f8317d35c7 (diff)
downloadCMake-dda01904587627a3d2bda5b684f7bef1e62596bb.zip
CMake-dda01904587627a3d2bda5b684f7bef1e62596bb.tar.gz
CMake-dda01904587627a3d2bda5b684f7bef1e62596bb.tar.bz2
project: Add variable CMAKE_PROJECT_INCLUDE
Diffstat (limited to 'Help')
-rw-r--r--Help/command/project.rst6
-rw-r--r--Help/manual/cmake-variables.7.rst1
-rw-r--r--Help/variable/CMAKE_PROJECT_INCLUDE.rst6
3 files changed, 10 insertions, 3 deletions
diff --git a/Help/command/project.rst b/Help/command/project.rst
index 688e56c..a95012d 100644
--- a/Help/command/project.rst
+++ b/Help/command/project.rst
@@ -31,9 +31,9 @@ Further variables are set by the optional arguments described in the following.
If any of these arguments is not used, then the corresponding variables are
set to the empty string.
-If the variable :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` exists,
-the file pointed to by that variable will be included as the last step of the
-project command.
+If the variable :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE`
+or :variable:`CMAKE_PROJECT_INCLUDE` exists, the file pointed to by that
+variable will be included as the last step of the project command.
Options
^^^^^^^
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index 48d7550..e1584ef 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -195,6 +195,7 @@ Variables that Change Behavior
/variable/CMAKE_POLICY_WARNING_CMPNNNN
/variable/CMAKE_PREFIX_PATH
/variable/CMAKE_PROGRAM_PATH
+ /variable/CMAKE_PROJECT_INCLUDE
/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE
/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY
/variable/CMAKE_STAGING_PREFIX
diff --git a/Help/variable/CMAKE_PROJECT_INCLUDE.rst b/Help/variable/CMAKE_PROJECT_INCLUDE.rst
new file mode 100644
index 0000000..7de767a
--- /dev/null
+++ b/Help/variable/CMAKE_PROJECT_INCLUDE.rst
@@ -0,0 +1,6 @@
+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.