|
|
@@ -70,17 +70,16 @@ included by absolute path. For example:
|
|
|
<unordered_map>
|
|
|
)
|
|
|
|
|
|
-Arguments to ``target_precompile_headers()`` may use "generator expressions"
|
|
|
-with the syntax ``$<...>``.
|
|
|
-See the :manual:`cmake-generator-expressions(7)` manual for available
|
|
|
-expressions.
|
|
|
-The :genex:`$<COMPILE_LANGUAGE:...>` generator expression is particularly
|
|
|
-useful for specifying a language-specific header to precompile for
|
|
|
-only one language (e.g. ``CXX`` and not ``C``). In this case, header
|
|
|
-file names that are not explicitly in double quotes or angle brackets
|
|
|
-must be specified by absolute path. Also, when specifying angle brackets
|
|
|
-inside a generator expression, be sure to encode the closing ``>`` as
|
|
|
-:genex:`$<ANGLE-R>`. For example:
|
|
|
+.. |command_name| replace:: ``target_compile_features``
|
|
|
+.. |more_see_also| replace:: The :genex:`$<COMPILE_LANGUAGE:...>` generator
|
|
|
+ expression is particularly useful for specifying a language-specific header
|
|
|
+ to precompile for only one language (e.g. ``CXX`` and not ``C``). In this
|
|
|
+ case, header file names that are not explicitly in double quotes or angle
|
|
|
+ brackets must be specified by absolute path. Also, when specifying angle
|
|
|
+ brackets inside a generator expression, be sure to encode the closing
|
|
|
+ ``>`` as :genex:`$<ANGLE-R>`. For example:
|
|
|
+.. include:: GENEX_NOTE.txt
|
|
|
+ :start-line: 1
|
|
|
|
|
|
.. code-block:: cmake
|
|
|
|