From adbaadf0eef855aeb043babceae67e324b69fef0 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" Date: Thu, 25 Oct 2018 13:34:27 +0200 Subject: Help: Apply syntax highlighting to project commands * Replace most "::" by ".. code-block:: cmake" * Header sentence in imperative voice, detailed command description in present tense. --- Help/command/add_compile_definitions.rst | 4 ++-- Help/command/add_compile_options.rst | 4 ++-- Help/command/add_custom_command.rst | 6 ++++-- Help/command/add_custom_target.rst | 2 +- Help/command/add_definitions.rst | 4 ++-- Help/command/add_dependencies.rst | 4 ++-- Help/command/add_executable.rst | 6 +++--- Help/command/add_library.rst | 10 +++++----- Help/command/add_link_options.rst | 4 ++-- Help/command/add_subdirectory.rst | 7 +++---- Help/command/add_test.rst | 10 ++++++---- Help/command/aux_source_directory.rst | 2 +- Help/command/create_test_sourcelist.rst | 2 +- Help/command/define_property.rst | 4 ++-- Help/command/enable_language.rst | 6 +++--- Help/command/enable_testing.rst | 2 +- Help/command/export.rst | 10 +++++----- Help/command/fltk_wrap_ui.rst | 2 +- Help/command/get_source_file_property.rst | 4 ++-- Help/command/get_target_property.rst | 2 +- Help/command/get_test_property.rst | 2 +- Help/command/include_directories.rst | 2 +- Help/command/include_external_msproject.rst | 2 +- Help/command/include_regular_expression.rst | 4 ++-- Help/command/install.rst | 10 +++++----- Help/command/link_directories.rst | 4 ++-- Help/command/link_libraries.rst | 2 +- Help/command/load_cache.rst | 11 +++++------ Help/command/qt_wrap_cpp.rst | 7 +++---- Help/command/qt_wrap_ui.rst | 4 ++-- Help/command/remove_definitions.rst | 4 ++-- Help/command/set_source_files_properties.rst | 4 ++-- Help/command/set_target_properties.rst | 4 ++-- Help/command/set_tests_properties.rst | 4 ++-- Help/command/source_group.rst | 2 +- Help/command/target_compile_definitions.rst | 4 ++-- Help/command/target_compile_features.rst | 4 ++-- Help/command/target_compile_options.rst | 4 ++-- Help/command/target_include_directories.rst | 4 ++-- Help/command/target_link_directories.rst | 4 ++-- Help/command/target_link_libraries.rst | 12 +++++++----- Help/command/target_link_options.rst | 4 ++-- Help/command/target_sources.rst | 4 ++-- Help/command/try_compile.rst | 8 +++++--- Help/command/try_run.rst | 2 +- 45 files changed, 108 insertions(+), 103 deletions(-) diff --git a/Help/command/add_compile_definitions.rst b/Help/command/add_compile_definitions.rst index 48815d4..8225da7 100644 --- a/Help/command/add_compile_definitions.rst +++ b/Help/command/add_compile_definitions.rst @@ -1,9 +1,9 @@ add_compile_definitions ----------------------- -Adds preprocessor definitions to the compilation of source files. +Add preprocessor definitions to the compilation of source files. -:: +.. code-block:: cmake add_compile_definitions( ...) diff --git a/Help/command/add_compile_options.rst b/Help/command/add_compile_options.rst index 350a1c0..fcdcfd4 100644 --- a/Help/command/add_compile_options.rst +++ b/Help/command/add_compile_options.rst @@ -1,9 +1,9 @@ add_compile_options ------------------- -Adds options to the compilation of source files. +Add options to the compilation of source files. -:: +.. code-block:: cmake add_compile_options(