summaryrefslogtreecommitdiffstats
path: root/Help/command/install.rst
diff options
context:
space:
mode:
authorJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2018-10-25 11:34:27 (GMT)
committerJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2018-10-25 11:47:31 (GMT)
commitadbaadf0eef855aeb043babceae67e324b69fef0 (patch)
treecafc762ddcd625ba840242484da0d3ffe3a226f2 /Help/command/install.rst
parent2459b5e8324ced6435a12fedf98067a0d9fac5f1 (diff)
downloadCMake-adbaadf0eef855aeb043babceae67e324b69fef0.zip
CMake-adbaadf0eef855aeb043babceae67e324b69fef0.tar.gz
CMake-adbaadf0eef855aeb043babceae67e324b69fef0.tar.bz2
Help: Apply syntax highlighting to project commands
* Replace most "::" by ".. code-block:: cmake" * Header sentence in imperative voice, detailed command description in present tense.
Diffstat (limited to 'Help/command/install.rst')
-rw-r--r--Help/command/install.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 98074d0..4966df4 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -101,7 +101,7 @@ Installing Targets
.. _TARGETS:
-::
+.. code-block:: cmake
install(TARGETS targets... [EXPORT <export-name>]
[[ARCHIVE|LIBRARY|RUNTIME|OBJECTS|FRAMEWORK|BUNDLE|
@@ -305,7 +305,7 @@ Installing Files
.. _FILES:
.. _PROGRAMS:
-::
+.. code-block:: cmake
install(<FILES|PROGRAMS> files... DESTINATION <dir>
[PERMISSIONS permissions...]
@@ -340,7 +340,7 @@ Installing Directories
.. _DIRECTORY:
-::
+.. code-block:: cmake
install(DIRECTORY dirs... DESTINATION <dir>
[FILE_PERMISSIONS permissions...]
@@ -424,7 +424,7 @@ Custom Installation Logic
.. _CODE:
.. _SCRIPT:
-::
+.. code-block:: cmake
install([[SCRIPT <file>] [CODE <code>]]
[COMPONENT <component>] [EXCLUDE_FROM_ALL] [...])
@@ -447,7 +447,7 @@ Installing Exports
.. _EXPORT:
-::
+.. code-block:: cmake
install(EXPORT <export-name> DESTINATION <dir>
[NAMESPACE <namespace>] [[FILE <name>.cmake]|