summaryrefslogtreecommitdiffstats
path: root/Help/command/install_programs.rst
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-11-06 02:49:09 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-09 19:52:30 (GMT)
commit8c6274326d5bfb32e58a4da690138279854803e8 (patch)
tree1f381c147c8b643dc18f510a4145ea3845a90ebb /Help/command/install_programs.rst
parentc356a9451296f92eacb8e5ce44018965e91f4246 (diff)
downloadCMake-8c6274326d5bfb32e58a4da690138279854803e8.zip
CMake-8c6274326d5bfb32e58a4da690138279854803e8.tar.gz
CMake-8c6274326d5bfb32e58a4da690138279854803e8.tar.bz2
Help: Use CMake highlighting for command synopsis
Most of CMake commands use it. Fix a few of them to do the same.
Diffstat (limited to 'Help/command/install_programs.rst')
-rw-r--r--Help/command/install_programs.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/install_programs.rst b/Help/command/install_programs.rst
index eafae89..5b42904 100644
--- a/Help/command/install_programs.rst
+++ b/Help/command/install_programs.rst
@@ -11,7 +11,7 @@ directly replaced by the ``PROGRAMS`` form of the :command:`install`
command. The regexp form can be expressed more clearly using the ``GLOB``
form of the :command:`file` command.
-::
+.. code-block:: cmake
install_programs(<dir> file1 file2 [file3 ...])
install_programs(<dir> FILES file1 [file2 ...])
@@ -20,7 +20,7 @@ Create rules to install the listed programs into the given directory.
Use the ``FILES`` argument to guarantee that the file list version of the
command will be used even when there is only one argument.
-::
+.. code-block:: cmake
install_programs(<dir> regexp)