CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE — CMake 3.27.1 Documentation

# CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE

A CMake language file or module to be included as the last step of any `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 Code Injection for a more detailed discussion of files potentially included during a `project()` call.

See also the `CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE`, `CMAKE_PROJECT_INCLUDE`, `CMAKE_PROJECT_INCLUDE_BEFORE`, and `CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variables.