summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_PROJECT_INCLUDE.rst
blob: 76b9d92a0e916adccdff499d402f5194742c4a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CMAKE_PROJECT_INCLUDE
---------------------

.. versionadded:: 3.15

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 :ref:`Code Injection`
for a more detailed discussion of files potentially included during a
:command:`project` call.

See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE`,
:variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE`,
:variable:`CMAKE_PROJECT_INCLUDE_BEFORE`, and
:variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variables.