https://github.com/Kitware/CMake
Raw File
Tip revision: 5ead1d0a257e352c35ac63b78f4884058b17b8f9 authored by Brad King on 28 July 2022, 17:19:49 UTC
CMake 3.24.0-rc5
Tip revision: 5ead1d0
CMAKE_PROJECT_INCLUDE.rst
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.
back to top