mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Follow up commit 0761186949 (project: Add variable
CMAKE_PROJECT_INCLUDE_BEFORE, 2019-03-28, v3.15.0-rc1~294^2) with a
project-specific variant. This variable will be used similar to the
already existing `CMAKE_PROJECT_INCLUDE_BEFORE` and
`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` variables.
Fixes: #19854
12 lines
497 B
ReStructuredText
12 lines
497 B
ReStructuredText
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE
|
|
-------------------------------------------
|
|
|
|
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.
|