2013-10-01 04:30:57 +04:00
|
|
|
title_text
|
|
|
|
----------
|
|
|
|
|
|
|
|
Command ``some_cmd()`` explicit cmake domain.
|
|
|
|
Command ``some_cmd()`` without target.
|
|
|
|
Command ``some_cmd`` with target.
|
|
|
|
Command ``some_cmd_<cmd>()`` placeholder without target.
|
|
|
|
Command ``some_cmd_<cmd>`` placholder with target.
|
|
|
|
Command ``some_cmd()`` with parens.
|
|
|
|
Command ``some_cmd(SUB)`` with subcommand.
|
|
|
|
Command ``some_cmd(SUB)`` with subcommand and target.
|
|
|
|
Command ``some_cmd (SUB)`` with space and subcommand and target.
|
|
|
|
Command ``some command`` with space and target.
|
|
|
|
Variable ``some variable`` space and target.
|
|
|
|
Variable ``<PLACEHOLDER>_VARIABLE`` with leading placeholder.
|
|
|
|
Variable ``VARIABLE_<PLACEHOLDER>`` with trailing placeholder.
|
|
|
|
Variable ``<PLACEHOLDER>_VARIABLE`` with leading placeholder and target.
|
|
|
|
Variable ``VARIABLE_<PLACEHOLDER>`` with trailing placeholder and target.
|
|
|
|
Generator ``Some Generator`` with space.
|
|
|
|
|
|
|
|
First TOC entry.
|
|
|
|
|
|
|
|
|not replaced|
|
|
|
|
Second TOC entry.
|
|
|
|
|
|
|
|
CMake Module Content
|
|
|
|
|
|
|
|
More CMake Module Content
|
|
|
|
|
2013-10-23 03:49:45 +04:00
|
|
|
Bracket Comment Content
|
|
|
|
|
|
|
|
[
|
|
|
|
Bracket Comment Content
|
|
|
|
]
|
|
|
|
|
2013-10-01 04:30:57 +04:00
|
|
|
.. cmake:command:: some_cmd
|
|
|
|
|
|
|
|
Command some_cmd description.
|
|
|
|
|
|
|
|
.. command:: other_cmd
|
|
|
|
|
|
|
|
Command other_cmd description.
|
|
|
|
|
|
|
|
.. cmake:variable:: some_var
|
|
|
|
|
|
|
|
Variable some_var description.
|
|
|
|
|
|
|
|
.. variable:: other_var
|
|
|
|
|
|
|
|
Variable other_var description.
|
|
|
|
|
|
|
|
Parsed-literal included without directive.
|
|
|
|
Common Indentation Removed
|
2013-10-21 22:53:25 +04:00
|
|
|
# replaced in parsed literal
|
2013-10-01 04:30:57 +04:00
|
|
|
|
|
|
|
# Sample CMake code block
|
|
|
|
if(condition)
|
|
|
|
message(indented)
|
|
|
|
endif()
|
2013-10-21 22:53:25 +04:00
|
|
|
# |not replaced in literal|
|
2013-10-01 04:30:57 +04:00
|
|
|
|
2013-10-21 23:31:44 +04:00
|
|
|
A literal block starts after a line consisting of two colons
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
Literal block.
|
|
|
|
Common Indentation Removed
|
|
|
|
# |not replaced in literal|
|
|
|
|
|
|
|
|
or after a paragraph ending in two colons::
|
|
|
|
|
|
|
|
Literal block.
|
|
|
|
Common Indentation Removed
|
|
|
|
# |not replaced in literal|
|
|
|
|
|
|
|
|
but not after a line ending in two colons::
|
|
|
|
in the middle of a paragraph.
|
|
|
|
|
2013-10-30 00:18:29 +04:00
|
|
|
.. productionlist::
|
|
|
|
grammar: `production`
|
|
|
|
production: "content rendered"
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
Notes are called out.
|
|
|
|
|
2013-10-01 04:30:57 +04:00
|
|
|
substituted text with multiple lines becomes one line
|
|
|
|
|
|
|
|
End of first include.
|
|
|
|
|
|
|
|
Cross-include substitution text with ``some_cmd()`` reference.
|
|
|
|
|
|
|
|
End of second include.
|