diff options
author | Craig Scott <craig.scott@crascit.com> | 2024-03-16 06:43:25 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2024-03-16 06:43:25 (GMT) |
commit | dcb894fb00d4279c429934e1909f5d5d11741f9e (patch) | |
tree | 4683e29efe006a92ab705c1d64a2ecbcf53592e3 /Help | |
parent | 09cf39ab07d772783a82a41817df93b6fc54b057 (diff) | |
download | CMake-dcb894fb00d4279c429934e1909f5d5d11741f9e.zip CMake-dcb894fb00d4279c429934e1909f5d5d11741f9e.tar.gz CMake-dcb894fb00d4279c429934e1909f5d5d11741f9e.tar.bz2 |
Help: Update project() code injection for new 3.29 include behavior
Specifically, the various CMAKE_PROJECT_...INCLUDE... variables can
now take a list of things, and those things can be module names
too, not just file names.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/project.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Help/command/project.rst b/Help/command/project.rst index d695789..2b93880 100644 --- a/Help/command/project.rst +++ b/Help/command/project.rst @@ -123,12 +123,12 @@ The following outlines the steps performed during a ``project()`` call: * .. versionadded:: 3.15 For every ``project()`` call regardless of the project - name, include the file named by :variable:`CMAKE_PROJECT_INCLUDE_BEFORE`, - if set. + name, include the file(s) and module(s) named by + :variable:`CMAKE_PROJECT_INCLUDE_BEFORE`, if set. * .. versionadded:: 3.17 If the ``project()`` command specifies ``<PROJECT-NAME>`` as its project - name, include the file named by + name, include the file(s) and module(s) named by :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE`, if set. * Set the various project-specific variables detailed in the `Synopsis`_ @@ -156,11 +156,11 @@ The following outlines the steps performed during a ``project()`` call: * .. versionadded:: 3.15 For every ``project()`` call regardless of the project - name, include the file named by :variable:`CMAKE_PROJECT_INCLUDE`, - if set. + name, include the file(s) and module(s) named by + :variable:`CMAKE_PROJECT_INCLUDE`, if set. * If the ``project()`` command specifies ``<PROJECT-NAME>`` as its project - name, include the file named by + name, include the file(s) and module(s) named by :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE`, if set. Usage |