1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 07:11:52 +08:00

Help: Remove accidental blockquotes around lists

Indenting a list relative to the previous paragraph creates
a blockquote. Combined with the natural list indent it results
in an overly large left margin.
This commit is contained in:
Nikita Nemkin
2025-01-23 15:31:59 +05:00
committed by Brad King
parent 718043b540
commit 51e4d81f16
14 changed files with 114 additions and 112 deletions

View File

@@ -151,7 +151,6 @@ The options are:
List target names with the ``DEPENDS`` option to add such file-level List target names with the ``DEPENDS`` option to add such file-level
dependencies. dependencies.
``COMMENT`` ``COMMENT``
Display the given message before the commands are executed at Display the given message before the commands are executed at
build time. This will be ignored if ``APPEND`` is given, although a future build time. This will be ignored if ``APPEND`` is given, although a future

View File

@@ -208,9 +208,9 @@ The ``[version]`` argument requests a version with which the package found
should be compatible. There are two possible forms in which it may be should be compatible. There are two possible forms in which it may be
specified: specified:
* A single version with the format ``major[.minor[.patch[.tweak]]]``, where * A single version with the format ``major[.minor[.patch[.tweak]]]``, where
each component is a numeric value. each component is a numeric value.
* A version range with the format ``versionMin...[<]versionMax`` where * A version range with the format ``versionMin...[<]versionMax`` where
``versionMin`` and ``versionMax`` have the same format and constraints ``versionMin`` and ``versionMax`` have the same format and constraints
on components being integers as the single version. By default, both end on components being integers as the single version. By default, both end
points are included. By specifying ``<``, the upper end point will be points are included. By specifying ``<``, the upper end point will be

View File

@@ -19,14 +19,14 @@ list.
same directory (``CMakeLists.txt``). Visibility can be set in other directory same directory (``CMakeLists.txt``). Visibility can be set in other directory
scopes using one or both of the following options: scopes using one or both of the following options:
``DIRECTORY <dirs>...`` ``DIRECTORY <dirs>...``
The source file properties will be set in each of the ``<dirs>`` The source file properties will be set in each of the ``<dirs>``
directories' scopes. CMake must already know about each of these directories' scopes. CMake must already know about each of these
source directories, either by having added them through a call to source directories, either by having added them through a call to
:command:`add_subdirectory` or it being the top level source directory. :command:`add_subdirectory` or it being the top level source directory.
Relative paths are treated as relative to the current source directory. Relative paths are treated as relative to the current source directory.
``TARGET_DIRECTORY <targets>...`` ``TARGET_DIRECTORY <targets>...``
The source file properties will be set in each of the directory scopes The source file properties will be set in each of the directory scopes
where any of the specified ``<targets>`` were created (the ``<targets>`` where any of the specified ``<targets>`` were created (the ``<targets>``
must therefore already exist). must therefore already exist).

View File

@@ -25,8 +25,8 @@ or a component GROUP name.
Here are some CPack DEB generator wiki resources that are here for historic Here are some CPack DEB generator wiki resources that are here for historic
reasons and are no longer maintained but may still prove useful: reasons and are no longer maintained but may still prove useful:
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Configuration - https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Configuration
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#deb-unix-only - https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#deb-unix-only
List of CPack DEB generator specific variables: List of CPack DEB generator specific variables:

View File

@@ -36,8 +36,8 @@ https://rpm.org/documentation.
Here are some CPack RPM generator wiki resources that are here for historic Here are some CPack RPM generator wiki resources that are here for historic
reasons and are no longer maintained but may still prove useful: reasons and are no longer maintained but may still prove useful:
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Configuration - https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Configuration
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#rpm-unix-only - https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#rpm-unix-only
List of CPack RPM generator specific variables: List of CPack RPM generator specific variables:

View File

@@ -8,18 +8,18 @@ Target file component generator expressions do not add target dependencies.
The following target-based generator expressions that query for directory or The following target-based generator expressions that query for directory or
file name components no longer add a dependency on the evaluated target. file name components no longer add a dependency on the evaluated target.
- ``TARGET_FILE_NAME`` - ``TARGET_FILE_NAME``
- ``TARGET_FILE_DIR`` - ``TARGET_FILE_DIR``
- ``TARGET_LINKER_FILE_BASE_NAME`` - ``TARGET_LINKER_FILE_BASE_NAME``
- ``TARGET_LINKER_FILE_NAME`` - ``TARGET_LINKER_FILE_NAME``
- ``TARGET_LINKER_FILE_DIR`` - ``TARGET_LINKER_FILE_DIR``
- ``TARGET_SONAME_FILE_NAME`` - ``TARGET_SONAME_FILE_NAME``
- ``TARGET_SONAME_FILE_DIR`` - ``TARGET_SONAME_FILE_DIR``
- ``TARGET_PDB_FILE_NAME`` - ``TARGET_PDB_FILE_NAME``
- ``TARGET_PDB_FILE_DIR`` - ``TARGET_PDB_FILE_DIR``
- ``TARGET_BUNDLE_DIR`` - ``TARGET_BUNDLE_DIR``
- ``TARGET_BUNDLE_DIR_NAME`` - ``TARGET_BUNDLE_DIR_NAME``
- ``TARGET_BUNDLE_CONTENT_DIR`` - ``TARGET_BUNDLE_CONTENT_DIR``
In CMake 3.18 and lower a dependency on the evaluated target of the above In CMake 3.18 and lower a dependency on the evaluated target of the above

View File

@@ -13,25 +13,25 @@ where ``MYVAR`` is the case-sensitive name of an environment variable
to be modified. Entries are considered in the order specified in the to be modified. Entries are considered in the order specified in the
property's value. The ``OP`` may be one of: property's value. The ``OP`` may be one of:
- ``reset``: Reset to the unmodified value, ignoring all modifications to - ``reset``: Reset to the unmodified value, ignoring all modifications to
``MYVAR`` prior to this entry. Note that this will reset the variable to ``MYVAR`` prior to this entry. Note that this will reset the variable to
the value set by :prop_test:`ENVIRONMENT`, if it was set, and otherwise the value set by :prop_test:`ENVIRONMENT`, if it was set, and otherwise
to its state from the rest of the CTest execution. to its state from the rest of the CTest execution.
- ``set``: Replaces the current value of ``MYVAR`` with ``VALUE``. - ``set``: Replaces the current value of ``MYVAR`` with ``VALUE``.
- ``unset``: Unsets the current value of ``MYVAR``. - ``unset``: Unsets the current value of ``MYVAR``.
- ``string_append``: Appends singular ``VALUE`` to the current value of - ``string_append``: Appends singular ``VALUE`` to the current value of
``MYVAR``. ``MYVAR``.
- ``string_prepend``: Prepends singular ``VALUE`` to the current value of - ``string_prepend``: Prepends singular ``VALUE`` to the current value of
``MYVAR``. ``MYVAR``.
- ``path_list_append``: Appends singular ``VALUE`` to the current value of - ``path_list_append``: Appends singular ``VALUE`` to the current value of
``MYVAR`` using the host platform's path list separator (``;`` on Windows ``MYVAR`` using the host platform's path list separator (``;`` on Windows
and ``:`` elsewhere). and ``:`` elsewhere).
- ``path_list_prepend``: Prepends singular ``VALUE`` to the current value of - ``path_list_prepend``: Prepends singular ``VALUE`` to the current value of
``MYVAR`` using the host platform's path list separator (``;`` on Windows ``MYVAR`` using the host platform's path list separator (``;`` on Windows
and ``:`` elsewhere). and ``:`` elsewhere).
- ``cmake_list_append``: Appends singular ``VALUE`` to the current value of - ``cmake_list_append``: Appends singular ``VALUE`` to the current value of
``MYVAR`` using ``;`` as the separator. ``MYVAR`` using ``;`` as the separator.
- ``cmake_list_prepend``: Prepends singular ``VALUE`` to the current value of - ``cmake_list_prepend``: Prepends singular ``VALUE`` to the current value of
``MYVAR`` using ``;`` as the separator. ``MYVAR`` using ``;`` as the separator.
Unrecognized ``OP`` values will result in the test failing before it is Unrecognized ``OP`` values will result in the test failing before it is

View File

@@ -84,14 +84,17 @@ Main functions provided by the module
are set depending on the extension of the matched file: are set depending on the extension of the matched file:
if match is **.resx** file: if match is **.resx** file:
- VS_CSHARP_AutoGen "True" - VS_CSHARP_AutoGen "True"
- VS_CSHARP_DesignTime "True" - VS_CSHARP_DesignTime "True"
- VS_CSHARP_DependentUpon <resx-filename> - VS_CSHARP_DependentUpon <resx-filename>
if match is **.cs** file: if match is **.cs** file:
- VS_CSHARP_DependentUpon <cs-filename> - VS_CSHARP_DependentUpon <cs-filename>
if match is **.settings** file: if match is **.settings** file:
- VS_CSHARP_AutoGen "True" - VS_CSHARP_AutoGen "True"
- VS_CSHARP_DesignTimeSharedInput "True" - VS_CSHARP_DesignTimeSharedInput "True"
- VS_CSHARP_DependentUpon <settings-filename> - VS_CSHARP_DependentUpon <settings-filename>