mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +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:
@@ -151,7 +151,6 @@ The options are:
|
||||
List target names with the ``DEPENDS`` option to add such file-level
|
||||
dependencies.
|
||||
|
||||
|
||||
``COMMENT``
|
||||
Display the given message before the commands are executed at
|
||||
build time. This will be ignored if ``APPEND`` is given, although a future
|
||||
|
@@ -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
|
||||
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.
|
||||
* 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
|
||||
on components being integers as the single version. By default, both end
|
||||
points are included. By specifying ``<``, the upper end point will be
|
||||
|
@@ -19,14 +19,14 @@ list.
|
||||
same directory (``CMakeLists.txt``). Visibility can be set in other directory
|
||||
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>``
|
||||
directories' scopes. CMake must already know about each of these
|
||||
source directories, either by having added them through a call to
|
||||
:command:`add_subdirectory` or it being the top level 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
|
||||
where any of the specified ``<targets>`` were created (the ``<targets>``
|
||||
must therefore already exist).
|
||||
|
@@ -25,8 +25,8 @@ or a component GROUP name.
|
||||
Here are some CPack DEB generator wiki resources that are here for historic
|
||||
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/PackageGenerators#deb-unix-only
|
||||
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Configuration
|
||||
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#deb-unix-only
|
||||
|
||||
List of CPack DEB generator specific variables:
|
||||
|
||||
|
@@ -36,8 +36,8 @@ https://rpm.org/documentation.
|
||||
Here are some CPack RPM generator wiki resources that are here for historic
|
||||
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/PackageGenerators#rpm-unix-only
|
||||
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Configuration
|
||||
- https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#rpm-unix-only
|
||||
|
||||
List of CPack RPM generator specific variables:
|
||||
|
||||
|
@@ -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
|
||||
file name components no longer add a dependency on the evaluated target.
|
||||
|
||||
- ``TARGET_FILE_NAME``
|
||||
- ``TARGET_FILE_DIR``
|
||||
- ``TARGET_LINKER_FILE_BASE_NAME``
|
||||
- ``TARGET_LINKER_FILE_NAME``
|
||||
- ``TARGET_LINKER_FILE_DIR``
|
||||
- ``TARGET_SONAME_FILE_NAME``
|
||||
- ``TARGET_SONAME_FILE_DIR``
|
||||
- ``TARGET_PDB_FILE_NAME``
|
||||
- ``TARGET_PDB_FILE_DIR``
|
||||
- ``TARGET_BUNDLE_DIR``
|
||||
- ``TARGET_BUNDLE_DIR_NAME``
|
||||
- ``TARGET_BUNDLE_CONTENT_DIR``
|
||||
- ``TARGET_FILE_NAME``
|
||||
- ``TARGET_FILE_DIR``
|
||||
- ``TARGET_LINKER_FILE_BASE_NAME``
|
||||
- ``TARGET_LINKER_FILE_NAME``
|
||||
- ``TARGET_LINKER_FILE_DIR``
|
||||
- ``TARGET_SONAME_FILE_NAME``
|
||||
- ``TARGET_SONAME_FILE_DIR``
|
||||
- ``TARGET_PDB_FILE_NAME``
|
||||
- ``TARGET_PDB_FILE_DIR``
|
||||
- ``TARGET_BUNDLE_DIR``
|
||||
- ``TARGET_BUNDLE_DIR_NAME``
|
||||
- ``TARGET_BUNDLE_CONTENT_DIR``
|
||||
|
||||
|
||||
In CMake 3.18 and lower a dependency on the evaluated target of the above
|
||||
|
@@ -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
|
||||
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
|
||||
the value set by :prop_test:`ENVIRONMENT`, if it was set, and otherwise
|
||||
to its state from the rest of the CTest execution.
|
||||
- ``set``: Replaces the current value of ``MYVAR`` with ``VALUE``.
|
||||
- ``unset``: Unsets the current value of ``MYVAR``.
|
||||
- ``string_append``: Appends singular ``VALUE`` to the current value of
|
||||
- ``set``: Replaces the current value of ``MYVAR`` with ``VALUE``.
|
||||
- ``unset``: Unsets the current value of ``MYVAR``.
|
||||
- ``string_append``: Appends singular ``VALUE`` to the current value of
|
||||
``MYVAR``.
|
||||
- ``string_prepend``: Prepends singular ``VALUE`` to the current value of
|
||||
- ``string_prepend``: Prepends singular ``VALUE`` to the current value of
|
||||
``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
|
||||
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
|
||||
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.
|
||||
- ``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.
|
||||
|
||||
Unrecognized ``OP`` values will result in the test failing before it is
|
||||
|
@@ -84,14 +84,17 @@ Main functions provided by the module
|
||||
are set depending on the extension of the matched file:
|
||||
|
||||
if match is **.resx** file:
|
||||
|
||||
- VS_CSHARP_AutoGen "True"
|
||||
- VS_CSHARP_DesignTime "True"
|
||||
- VS_CSHARP_DependentUpon <resx-filename>
|
||||
|
||||
if match is **.cs** file:
|
||||
|
||||
- VS_CSHARP_DependentUpon <cs-filename>
|
||||
|
||||
if match is **.settings** file:
|
||||
|
||||
- VS_CSHARP_AutoGen "True"
|
||||
- VS_CSHARP_DesignTimeSharedInput "True"
|
||||
- VS_CSHARP_DependentUpon <settings-filename>
|
||||
|
Reference in New Issue
Block a user