cmake/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst

13 lines
658 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE
------------------------------------
2019-11-11 23:01:05 +01:00
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
2022-08-04 22:12:04 +02:00
modifying their source. See :ref:`Code Injection` for a more detailed
discussion of files potentially included during a :command:`project` call.
2019-11-11 23:01:05 +01:00
2020-08-30 11:54:41 +02:00
See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE`,
2022-08-04 22:12:04 +02:00
:variable:`CMAKE_PROJECT_INCLUDE`, :variable:`CMAKE_PROJECT_INCLUDE_BEFORE`,
and :variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variables.