Help: Apply syntax highlighting to project commands

* Replace most "::" by ".. code-block:: cmake"
  * Header sentence in imperative voice,
    detailed command description in present tense.
This commit is contained in:
Joachim Wuttke (o)
2018-10-25 13:34:27 +02:00
parent 2459b5e832
commit adbaadf0ee
45 changed files with 108 additions and 103 deletions

View File

@@ -3,21 +3,20 @@ load_cache
Load in the values from another project's CMake cache.
::
.. code-block:: cmake
load_cache(pathToCacheFile READ_WITH_PREFIX
prefix entry1...)
load_cache(pathToCacheFile READ_WITH_PREFIX prefix entry1...)
Read the cache and store the requested entries in variables with their
Reads the cache and store the requested entries in variables with their
name prefixed with the given prefix. This only reads the values, and
does not create entries in the local project's cache.
::
.. code-block:: cmake
load_cache(pathToCacheFile [EXCLUDE entry1...]
[INCLUDE_INTERNALS entry1...])
Load in the values from another cache and store them in the local
Loads in the values from another cache and store them in the local
project's cache as internal entries. This is useful for a project
that depends on another project built in a different tree. ``EXCLUDE``
option can be used to provide a list of entries to be excluded.