diff options
author | Brad King <brad.king@kitware.com> | 2013-09-12 15:41:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-15 18:12:49 (GMT) |
commit | 441f2808eca5c1deed7e480ce3043c57c901b33c (patch) | |
tree | ff6f8e35a32be270def253dbcd41c3ef322f768a /Help/command | |
parent | 6ceb6511554c41c14eafe882e5b94c0438e69bbc (diff) | |
download | CMake-441f2808eca5c1deed7e480ce3043c57c901b33c.zip CMake-441f2808eca5c1deed7e480ce3043c57c901b33c.tar.gz CMake-441f2808eca5c1deed7e480ce3043c57c901b33c.tar.bz2 |
Help: Fix reStructuredText syntax in auto-generated documents
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/add_executable.rst | 2 | ||||
-rw-r--r-- | Help/command/add_library.rst | 2 | ||||
-rw-r--r-- | Help/command/configure_file.rst | 2 | ||||
-rw-r--r-- | Help/command/export.rst | 2 | ||||
-rw-r--r-- | Help/command/foreach.rst | 6 | ||||
-rw-r--r-- | Help/command/install.rst | 2 | ||||
-rw-r--r-- | Help/command/string.rst | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/Help/command/add_executable.rst b/Help/command/add_executable.rst index 656af7c..d6fd929 100644 --- a/Help/command/add_executable.rst +++ b/Help/command/add_executable.rst @@ -49,7 +49,7 @@ the GLOBAL option extends visibility. It may be referenced like any target built within the project. IMPORTED executables are useful for convenient reference from commands like add_custom_command. Details about the imported executable are specified by setting properties -whose names begin in "IMPORTED_". The most important such property is +whose names begin in ``IMPORTED_``. The most important such property is IMPORTED_LOCATION (and its per-configuration version IMPORTED_LOCATION_<CONFIG>) which specifies the location of the main executable file on disk. See documentation of the IMPORTED_* diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst index 174f126..45f1102 100644 --- a/Help/command/add_library.rst +++ b/Help/command/add_library.rst @@ -54,7 +54,7 @@ GLOBAL option extends visibility. It may be referenced like any target built within the project. IMPORTED libraries are useful for convenient reference from commands like target_link_libraries. Details about the imported library are specified by setting properties -whose names begin in "IMPORTED_". The most important such property is +whose names begin in ``IMPORTED_``. The most important such property is IMPORTED_LOCATION (and its per-configuration version IMPORTED_LOCATION_<CONFIG>) which specifies the location of the main library file on disk. See documentation of the IMPORTED_* properties diff --git a/Help/command/configure_file.rst b/Help/command/configure_file.rst index 5e5a33a..70357f2 100644 --- a/Help/command/configure_file.rst +++ b/Help/command/configure_file.rst @@ -31,7 +31,7 @@ will be replaced and ${VAR} will be ignored. This is useful for configuring scripts that use ${VAR}. Input file lines of the form "#cmakedefine VAR ..." will be replaced -with either "#define VAR ..." or "/* #undef VAR */" depending on +with either "#define VAR ..." or ``/* #undef VAR */`` depending on whether VAR is set in CMake to any value not considered a false constant by the if() command. (Content of "...", if any, is processed as above.) Input file lines of the form "#cmakedefine01 VAR" will be diff --git a/Help/command/export.rst b/Help/command/export.rst index d9f63f0..c293340 100644 --- a/Help/command/export.rst +++ b/Help/command/export.rst @@ -18,7 +18,7 @@ names written to the file. If the APPEND option is given the generated code will be appended to the file instead of overwriting it. The EXPORT_LINK_INTERFACE_LIBRARIES keyword, if present, causes the contents of the properties matching -(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)? to be exported, when +``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?`` to be exported, when policy CMP0022 is NEW. If a library target is included in the export but a target to which it links is not included the behavior is unspecified. diff --git a/Help/command/foreach.rst b/Help/command/foreach.rst index 9ac70b3..8f9710c 100644 --- a/Help/command/foreach.rst +++ b/Help/command/foreach.rst @@ -27,13 +27,13 @@ Foreach can also iterate over a generated range of numbers. There are three types of this iteration: * When specifying single number, the range will have elements 0 to -"total". + "total". * When specifying two numbers, the range will have elements from the -first number to the second number. + first number to the second number. * The third optional number is the increment used to iterate from the -first number to the second number. + first number to the second number. :: diff --git a/Help/command/install.rst b/Help/command/install.rst index 9b27cae..a463a60 100644 --- a/Help/command/install.rst +++ b/Help/command/install.rst @@ -287,7 +287,7 @@ when one of the named configurations is installed. Additionally, the generated import file will reference only the matching target configurations. The EXPORT_LINK_INTERFACE_LIBRARIES keyword, if present, causes the contents of the properties matching -(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)? to be exported, when +``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?`` to be exported, when policy CMP0022 is NEW. If a COMPONENT option is specified that does not match that given to the targets associated with <export-name> the behavior is undefined. If a library target is included in the export diff --git a/Help/command/string.rst b/Help/command/string.rst index c191c63..1e18ca6 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -106,7 +106,7 @@ The following characters have special meaning in regular expressions: by all regular expression-related commands, including e.g. if( MATCHES ), in the variables CMAKE_MATCH_(0..9). -*, + and ? have higher precedence than concatenation. | has lower +``*``, ``+`` and ``?`` have higher precedence than concatenation. | has lower precedence than concatenation. This means that the regular expression "^ab+d$" matches "abbd" but not "ababd", and the regular expression "^(ab|cd)$" matches "ab" but not "abd". |