Преглед изворни кода

Help: Use ``inline-literals`` to mark generator expressions.

Stephen Kelly пре 11 година
родитељ
комит
85a4fad78c

+ 1 - 1
Help/command/add_compile_options.rst

@@ -13,5 +13,5 @@ alternative commands exist to add preprocessor definitions or include
 directories.  See documentation of the directory and target
 COMPILE_OPTIONS properties for details.  Arguments to
 add_compile_options may use "generator expressions" with the syntax
-"$<...>".  See the :manual:`cmake-generator-expressions(7)` manual for
+``$<...>``.  See the :manual:`cmake-generator-expressions(7)` manual for
 available expressions.

+ 1 - 1
Help/command/add_custom_command.rst

@@ -113,7 +113,7 @@ dependency that would cause the custom command to re-run whenever the
 executable is recompiled.
 
 Arguments to COMMAND may use "generator expressions" with the syntax
-"$<...>".  See the :manual:`cmake-generator-expressions(7)` manual for
+``$<...>``.  See the :manual:`cmake-generator-expressions(7)` manual for
 available expressions.
 
 Note that tgt is not added as a dependency of the target this

+ 1 - 1
Help/command/add_test.rst

@@ -35,7 +35,7 @@ a WORKING_DIRECTORY option is given then the test will be executed in
 the given directory.
 
 Arguments after COMMAND may use "generator expressions" with the syntax
-"$<...>".  See the :manual:`cmake-generator-expressions(7)` manual for
+``$<...>``.  See the :manual:`cmake-generator-expressions(7)` manual for
 available expressions.
 
 Note that tgt is not added as a dependency of the target this

+ 1 - 1
Help/command/target_compile_definitions.rst

@@ -20,5 +20,5 @@ definitions.  Repeated calls for the same <target> append items in the
 order called.
 
 Arguments to target_compile_definitions may use "generator expressions" with
-the syntax "$<...>".  See the :manual:`cmake-generator-expressions(7)` manual
+the syntax ``$<...>``.  See the :manual:`cmake-generator-expressions(7)` manual
 for available expressions.

+ 1 - 1
Help/command/target_compile_options.rst

@@ -22,6 +22,6 @@ of <target>.  The following arguments specify compile options.
 Repeated calls for the same <target> append items in the order called.
 
 Arguments to target_compile_options may use "generator expressions"
-with the syntax "$<...>".
+with the syntax ``$<...>``.
 See the :manual:`cmake-generator-expressions(7)` manual for available
 expressions.

+ 1 - 1
Help/command/target_include_directories.rst

@@ -32,6 +32,6 @@ INTERFACE_SYSTEM_INCLUDE_DIRECTORIES target property will be populated
 with the specified directories.
 
 Arguments to target_include_directories may use "generator
-expressions" with the syntax "$<...>".
+expressions" with the syntax ``$<...>``.
 See the :manual:`cmake-generator-expressions(7)` manual for available
 expressions.

+ 1 - 1
Help/command/target_link_libraries.rst

@@ -140,7 +140,7 @@ archives are really so interdependent they should probably be combined
 into a single archive.)
 
 Arguments to target_link_libraries may use "generator expressions"
-with the syntax "$<...>".  Note however, that generator expressions
+with the syntax ``$<...>``.  Note however, that generator expressions
 will not be used in OLD handling of CMP0003 or CMP0004.
 See the :manual:`cmake-generator-expressions(7)` manual for available
 expressions.

+ 1 - 1
Help/prop_dir/COMPILE_OPTIONS.rst

@@ -10,5 +10,5 @@ The target property values are used by the generators to set the
 options for the compiler.
 
 Contents of COMPILE_OPTIONS may use "generator expressions" with the syntax
-"$<...>".  See the :manual:`cmake-generator-expressions(7)` manual for
+``$<...>``.  See the :manual:`cmake-generator-expressions(7)` manual for
 available expressions.

+ 1 - 1
Help/prop_tgt/AUTOUIC_OPTIONS.rst

@@ -16,6 +16,6 @@ This property is initialized by the value of the variable
 The options set on the target may be overridden by :prop_sf:`AUTOUIC_OPTIONS` set
 on the ``.ui`` source file.
 
-This property may use "generator expressions" with the syntax "$<...>".
+This property may use "generator expressions" with the syntax ``$<...>``.
 See the :manual:`cmake-generator-expressions(7)` manual for available
 expressions.

+ 1 - 1
Help/prop_tgt/COMPILE_DEFINITIONS.rst

@@ -17,7 +17,7 @@ by the native build tool.  The VS6 IDE does not support definition
 values with spaces (but NMake does).
 
 Contents of COMPILE_DEFINITIONS may use "generator expressions" with the
-syntax "$<...>".  See the :manual:`cmake-generator-expressions(7)` manual
+syntax ``$<...>``.  See the :manual:`cmake-generator-expressions(7)` manual
 for available expressions.
 
 .. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.txt

+ 1 - 1
Help/prop_tgt/COMPILE_OPTIONS.rst

@@ -10,5 +10,5 @@ The target property values are used by the generators to set the
 options for the compiler.
 
 Contents of COMPILE_OPTIONS may use "generator expressions" with the
-syntax "$<...>".  See the :manual:`cmake-generator-expressions(7)` manual for
+syntax ``$<...>``.  See the :manual:`cmake-generator-expressions(7)` manual for
 available expressions.

+ 1 - 1
Help/prop_tgt/INCLUDE_DIRECTORIES.rst

@@ -21,5 +21,5 @@ Relative paths should not be added to this property directly. Use one of
 the commands above instead to handle relative paths.
 
 Contents of INCLUDE_DIRECTORIES may use "generator expressions" with the
-syntax "$<...>".  See the :manual:`cmake-generator-expressions(7)` manual for
+syntax ``$<...>``.  See the :manual:`cmake-generator-expressions(7)` manual for
 available expressions.

+ 1 - 1
Help/prop_tgt/LINK_LIBRARIES.rst

@@ -13,5 +13,5 @@ libraries for the compiler.  See also the target_link_libraries
 command.
 
 Contents of LINK_LIBRARIES may use "generator expressions" with the syntax
-"$<...>".  See the :manual:`cmake-generator-expressions(7)` manual for
+``$<...>``.  See the :manual:`cmake-generator-expressions(7)` manual for
 available expressions.