CMAKE_PROJECT_INCLUDE_BEFORE

From Get docs
Cmake/docs/3.21/variable/cmake project include before


CMAKE_PROJECT_INCLUDE_BEFORE

New in version 3.15.


A CMake language file or module to be included as the first step of all project() command calls. This is intended for injecting custom code into project builds without modifying their source.

See also the CMAKE_PROJECT__INCLUDE, CMAKE_PROJECT__INCLUDE_BEFORE and CMAKE_PROJECT_INCLUDE variables.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_PROJECT_INCLUDE_BEFORE.html