https://github.com/Kitware/CMake
Raw File
Tip revision: 66ba460810afdc0e0f65c20b1bc057a204acc82c authored by Brad King on 18 March 2022, 12:26:30 UTC
CMake 3.23.0-rc4
Tip revision: 66ba460
CMAKE_PROJECT_PROJECT-NAME_INCLUDE_BEFORE.rst
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE
-------------------------------------------

.. versionadded:: 3.17

A CMake language file or module to be included as the first 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 also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE`,
:variable:`CMAKE_PROJECT_INCLUDE` and
:variable:`CMAKE_PROJECT_INCLUDE_BEFORE` variables.
back to top