mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
CMAKE_PROJECT_INCLUDE: Add support for including multiple files
Fixes: #25341 Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
This commit is contained in:
@@ -3,12 +3,16 @@ CMAKE_PROJECT_INCLUDE
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
A CMake language file or module to be included as the last step of all
|
||||
A CMake language file to be included as the last step of all
|
||||
:command:`project` command calls. This is intended for injecting custom code
|
||||
into project builds without modifying their source. See :ref:`Code Injection`
|
||||
for a more detailed discussion of files potentially included during a
|
||||
:command:`project` call.
|
||||
|
||||
.. versionadded:: 3.29
|
||||
This variable can be a :ref:`semicolon-separated list <CMake Language Lists>`
|
||||
of CMake language files to be included sequentially.
|
||||
|
||||
See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE`,
|
||||
:variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE`,
|
||||
:variable:`CMAKE_PROJECT_INCLUDE_BEFORE`, and
|
||||
|
||||
@@ -3,12 +3,16 @@ CMAKE_PROJECT_INCLUDE_BEFORE
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
A CMake language file or module to be included as the first step of all
|
||||
A CMake language file to be included as the first step of all
|
||||
:command:`project` command calls. This is intended for injecting custom code
|
||||
into project builds without modifying their source. See :ref:`Code Injection`
|
||||
for a more detailed discussion of files potentially included during a
|
||||
:command:`project` call.
|
||||
|
||||
.. versionadded:: 3.29
|
||||
This variable can be a :ref:`semicolon-separated list <CMake Language Lists>`
|
||||
of CMake language files to be included sequentially.
|
||||
|
||||
See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE`,
|
||||
:variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE`,
|
||||
:variable:`CMAKE_PROJECT_INCLUDE`, and
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE
|
||||
------------------------------------
|
||||
|
||||
A CMake language file or module to be included as the last step of any
|
||||
A CMake language file 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
|
||||
modifying their source. See :ref:`Code Injection` for a more detailed
|
||||
discussion of files potentially included during a :command:`project` call.
|
||||
|
||||
.. versionadded:: 3.29
|
||||
This variable can be a :ref:`semicolon-separated list <CMake Language Lists>`
|
||||
of CMake language files to be included sequentially.
|
||||
|
||||
See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE`,
|
||||
:variable:`CMAKE_PROJECT_INCLUDE`, :variable:`CMAKE_PROJECT_INCLUDE_BEFORE`,
|
||||
and :variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variables.
|
||||
|
||||
@@ -3,12 +3,16 @@ CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
A CMake language file or module to be included as the first step of any
|
||||
A CMake language file 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 :ref:`Code Injection` for a more detailed
|
||||
discussion of files potentially included during a :command:`project` call.
|
||||
|
||||
.. versionadded:: 3.29
|
||||
This variable can be a :ref:`semicolon-separated list <CMake Language Lists>`
|
||||
of CMake language files to be included sequentially.
|
||||
|
||||
See also the :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE`,
|
||||
:variable:`CMAKE_PROJECT_INCLUDE`, :variable:`CMAKE_PROJECT_INCLUDE_BEFORE`,
|
||||
and :variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variables.
|
||||
|
||||
Reference in New Issue
Block a user