From 8c6274326d5bfb32e58a4da690138279854803e8 Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Sun, 6 Nov 2022 06:49:09 +0400 Subject: Help: Use CMake highlighting for command synopsis Most of CMake commands use it. Fix a few of them to do the same. --- Help/command/build_name.rst | 2 +- Help/command/ctest_build.rst | 2 +- Help/command/ctest_configure.rst | 2 +- Help/command/ctest_coverage.rst | 2 +- Help/command/ctest_empty_binary_directory.rst | 4 ++-- Help/command/ctest_memcheck.rst | 2 +- Help/command/ctest_read_custom_files.rst | 4 ++-- Help/command/ctest_run_script.rst | 2 +- Help/command/ctest_sleep.rst | 4 ++-- Help/command/ctest_start.rst | 2 +- Help/command/ctest_submit.rst | 4 ++-- Help/command/ctest_test.rst | 4 ++-- Help/command/ctest_update.rst | 2 +- Help/command/ctest_upload.rst | 2 +- Help/command/exec_program.rst | 2 +- Help/command/export_library_dependencies.rst | 2 +- Help/command/install_files.rst | 6 +++--- Help/command/install_programs.rst | 4 ++-- Help/command/install_targets.rst | 2 +- Help/command/load_command.rst | 4 ++-- Help/command/make_directory.rst | 2 +- Help/command/output_required_files.rst | 2 +- Help/command/remove.rst | 2 +- Help/command/subdir_depends.rst | 2 +- Help/command/subdirs.rst | 2 +- Help/command/use_mangled_mesa.rst | 2 +- Help/command/utility_source.rst | 2 +- Help/command/variable_requires.rst | 2 +- Help/command/write_file.rst | 2 +- 29 files changed, 38 insertions(+), 38 deletions(-) diff --git a/Help/command/build_name.rst b/Help/command/build_name.rst index 2a1fbae..5acf858 100644 --- a/Help/command/build_name.rst +++ b/Help/command/build_name.rst @@ -5,7 +5,7 @@ Disallowed since version 3.0. See CMake Policy :policy:`CMP0036`. Use ``${CMAKE_SYSTEM}`` and ``${CMAKE_CXX_COMPILER}`` instead. -:: +.. code-block:: cmake build_name(variable) diff --git a/Help/command/ctest_build.rst b/Help/command/ctest_build.rst index 8c81f2d..bce1739 100644 --- a/Help/command/ctest_build.rst +++ b/Help/command/ctest_build.rst @@ -3,7 +3,7 @@ ctest_build Perform the :ref:`CTest Build Step` as a :ref:`Dashboard Client`. -:: +.. code-block:: cmake ctest_build([BUILD ] [APPEND] [CONFIGURATION ] diff --git a/Help/command/ctest_configure.rst b/Help/command/ctest_configure.rst index 95712aa..f23dd22 100644 --- a/Help/command/ctest_configure.rst +++ b/Help/command/ctest_configure.rst @@ -3,7 +3,7 @@ ctest_configure Perform the :ref:`CTest Configure Step` as a :ref:`Dashboard Client`. -:: +.. code-block:: cmake ctest_configure([BUILD ] [SOURCE ] [APPEND] [OPTIONS ] [RETURN_VALUE ] [QUIET] diff --git a/Help/command/ctest_coverage.rst b/Help/command/ctest_coverage.rst index a6c643b..319c978 100644 --- a/Help/command/ctest_coverage.rst +++ b/Help/command/ctest_coverage.rst @@ -3,7 +3,7 @@ ctest_coverage Perform the :ref:`CTest Coverage Step` as a :ref:`Dashboard Client`. -:: +.. code-block:: cmake ctest_coverage([BUILD ] [APPEND] [LABELS