summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorChen Linxuan <me@black-desk.cn>2024-09-13 08:50:04 (GMT)
committerBrad King <brad.king@kitware.com>2024-09-18 15:05:28 (GMT)
commit39603a7e5cd40d687656c4985242c3eee725986b (patch)
tree05eaf08a5575d9a12b142fd4c381c11b99bb25ee /Help/command
parentd6e03018cb67698366af0742cfaa49ec8c29d0fb (diff)
downloadCMake-39603a7e5cd40d687656c4985242c3eee725986b.zip
CMake-39603a7e5cd40d687656c4985242c3eee725986b.tar.gz
CMake-39603a7e5cd40d687656c4985242c3eee725986b.tar.bz2
install: Add TYPE LIBEXEC for FILES and DIRECTORY
Signed-off-by: Chen Linxuan <me@black-desk.cn>
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/install.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index b199147..48194bb 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -568,6 +568,7 @@ Signatures
``LOCALE`` ``${CMAKE_INSTALL_LOCALEDIR}`` ``<DATAROOT dir>/locale``
``MAN`` ``${CMAKE_INSTALL_MANDIR}`` ``<DATAROOT dir>/man``
``DOC`` ``${CMAKE_INSTALL_DOCDIR}`` ``<DATAROOT dir>/doc``
+ ``LIBEXEC`` ``${CMAKE_INSTALL_LIBEXECDIR}`` ``libexec``
======================= ================================== =========================
Projects wishing to follow the common practice of installing headers into a
@@ -606,6 +607,9 @@ Signatures
use "generator expressions" with the syntax ``$<...>``. See the
:manual:`cmake-generator-expressions(7)` manual for available expressions.
+ .. versionadded:: 3.31
+ The ``TYPE`` argument now supports type ``LIBEXEC``.
+
.. signature::
install(DIRECTORY <dir>... [...])
@@ -720,6 +724,7 @@ Signatures
``LOCALE`` ``${CMAKE_INSTALL_LOCALEDIR}`` ``<DATAROOT dir>/locale``
``MAN`` ``${CMAKE_INSTALL_MANDIR}`` ``<DATAROOT dir>/man``
``DOC`` ``${CMAKE_INSTALL_DOCDIR}`` ``<DATAROOT dir>/doc``
+ ``LIBEXEC`` ``${CMAKE_INSTALL_LIBEXECDIR}`` ``libexec``
======================= ================================== =========================
Note that some of the types' built-in defaults use the ``DATAROOT`` directory as
@@ -743,6 +748,9 @@ Signatures
The list of ``dirs...`` given to ``DIRECTORY`` may use
"generator expressions" too.
+ .. versionadded:: 3.31
+ The ``TYPE`` argument now supports type ``LIBEXEC``.
+
.. signature::
install(SCRIPT <file> [...])
install(CODE <code> [...])