Help: Use "^^^^" for subsubsection headers
This is the convention suggested in the Sphinx documentation and is already used in several other places in the CMake documentation. Update a few places where we were using other characters.
This commit is contained in:
parent
7b888a5624
commit
4207b3a3bb
|
@ -18,7 +18,7 @@ setting is available the ``OLD`` behavior is assumed and a warning is
|
||||||
produced requesting that the policy be set.
|
produced requesting that the policy be set.
|
||||||
|
|
||||||
Setting Policies by CMake Version
|
Setting Policies by CMake Version
|
||||||
'''''''''''''''''''''''''''''''''
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
The ``cmake_policy`` command is used to set policies to ``OLD`` or ``NEW``
|
The ``cmake_policy`` command is used to set policies to ``OLD`` or ``NEW``
|
||||||
behavior. While setting policies individually is supported, we
|
behavior. While setting policies individually is supported, we
|
||||||
|
@ -40,7 +40,7 @@ Note that the :command:`cmake_minimum_required(VERSION)`
|
||||||
command implicitly calls ``cmake_policy(VERSION)`` too.
|
command implicitly calls ``cmake_policy(VERSION)`` too.
|
||||||
|
|
||||||
Setting Policies Explicitly
|
Setting Policies Explicitly
|
||||||
'''''''''''''''''''''''''''
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ one may fix the project to work with the new behavior and set the
|
||||||
policy state to ``NEW``.
|
policy state to ``NEW``.
|
||||||
|
|
||||||
Checking Policy Settings
|
Checking Policy Settings
|
||||||
''''''''''''''''''''''''
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ The output ``<variable>`` value will be ``OLD`` or ``NEW`` if the
|
||||||
policy is set, and empty otherwise.
|
policy is set, and empty otherwise.
|
||||||
|
|
||||||
CMake Policy Stack
|
CMake Policy Stack
|
||||||
''''''''''''''''''
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
CMake keeps policy settings on a stack, so changes made by the
|
CMake keeps policy settings on a stack, so changes made by the
|
||||||
cmake_policy command affect only the top of the stack. A new entry on
|
cmake_policy command affect only the top of the stack. A new entry on
|
||||||
|
|
|
@ -551,7 +551,7 @@ exporting see the :manual:`cmake-packages(7)` manual.
|
||||||
.. _`Include Directories and Usage Requirements`:
|
.. _`Include Directories and Usage Requirements`:
|
||||||
|
|
||||||
Include Directories and Usage Requirements
|
Include Directories and Usage Requirements
|
||||||
''''''''''''''''''''''''''''''''''''''''''
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Include directories require some special consideration when specified as usage
|
Include directories require some special consideration when specified as usage
|
||||||
requirements and when used with generator expressions. The
|
requirements and when used with generator expressions. The
|
||||||
|
|
|
@ -808,7 +808,7 @@ Documentation`_ section above.
|
||||||
|
|
||||||
|
|
||||||
Standard Variable Names
|
Standard Variable Names
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
For a ``FindXxx.cmake`` module that takes the approach of setting
|
For a ``FindXxx.cmake`` module that takes the approach of setting
|
||||||
variables (either instead of or in addition to creating imported
|
variables (either instead of or in addition to creating imported
|
||||||
|
@ -914,7 +914,7 @@ them.
|
||||||
|
|
||||||
|
|
||||||
A Sample Find Module
|
A Sample Find Module
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
We will describe how to create a simple find module for a library
|
We will describe how to create a simple find module for a library
|
||||||
``Foo``.
|
``Foo``.
|
||||||
|
|
|
@ -54,7 +54,7 @@ CMake. Target dependencies may be added to that custom target by adding them
|
||||||
to the :prop_tgt:`AUTOGEN_TARGET_DEPENDS` target property.
|
to the :prop_tgt:`AUTOGEN_TARGET_DEPENDS` target property.
|
||||||
|
|
||||||
AUTOMOC
|
AUTOMOC
|
||||||
'''''''
|
^^^^^^^
|
||||||
|
|
||||||
The :prop_tgt:`AUTOMOC` target property controls whether :manual:`cmake(1)`
|
The :prop_tgt:`AUTOMOC` target property controls whether :manual:`cmake(1)`
|
||||||
inspects the C++ files in the target to determine if they require ``moc`` to
|
inspects the C++ files in the target to determine if they require ``moc`` to
|
||||||
|
@ -84,7 +84,7 @@ variable may be populated to pre-set the options for all following targets.
|
||||||
.. _`Qt AUTOUIC`:
|
.. _`Qt AUTOUIC`:
|
||||||
|
|
||||||
AUTOUIC
|
AUTOUIC
|
||||||
'''''''
|
^^^^^^^
|
||||||
|
|
||||||
The :prop_tgt:`AUTOUIC` target property controls whether :manual:`cmake(1)`
|
The :prop_tgt:`AUTOUIC` target property controls whether :manual:`cmake(1)`
|
||||||
inspects the C++ files in the target to determine if they require ``uic`` to
|
inspects the C++ files in the target to determine if they require ``uic`` to
|
||||||
|
@ -147,7 +147,7 @@ result of linking with the :prop_tgt:`IMPORTED` target:
|
||||||
.. _`Qt AUTORCC`:
|
.. _`Qt AUTORCC`:
|
||||||
|
|
||||||
AUTORCC
|
AUTORCC
|
||||||
'''''''
|
^^^^^^^
|
||||||
|
|
||||||
The :prop_tgt:`AUTORCC` target property controls whether :manual:`cmake(1)`
|
The :prop_tgt:`AUTORCC` target property controls whether :manual:`cmake(1)`
|
||||||
creates rules to execute ``rcc`` at the appropriate time on source files
|
creates rules to execute ``rcc`` at the appropriate time on source files
|
||||||
|
|
Loading…
Reference in New Issue