https://github.com/Kitware/CMake
Raw File
Tip revision: 9532e1cf5b238ee5da2ea0b2fbb0194eaa5aaf03 authored by Brad King on 06 October 2023, 13:08:35 UTC
CMake 3.27.7
Tip revision: 9532e1c
CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE
------------------------------------

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 :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_BEFORE`,
:variable:`CMAKE_PROJECT_INCLUDE`, :variable:`CMAKE_PROJECT_INCLUDE_BEFORE`,
and :variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variables.
back to top