diff options
author | Brad King <brad.king@kitware.com> | 2021-01-16 02:55:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-18 17:35:40 (GMT) |
commit | 621ba5e1f217aabb401d1401117ee2a3652fcc5d (patch) | |
tree | 1ef4b3719deaf29df0f764086ce3c7aa3551bc75 /Tests/CMakeLib | |
parent | 8a132eca8aa9842b70cafa35cac97974ae5a01a5 (diff) | |
download | CMake-621ba5e1f217aabb401d1401117ee2a3652fcc5d.zip CMake-621ba5e1f217aabb401d1401117ee2a3652fcc5d.tar.gz CMake-621ba5e1f217aabb401d1401117ee2a3652fcc5d.tar.bz2 |
cmRST: Add support for 'envvar' directive
This was accidentally left out of commit 8acf46caf1 (Utilities/Sphinx:
Add role and directive for 'envvar' in CMake domain, 2018-04-19,
v3.12.0-rc1~200^2~1).
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r-- | Tests/CMakeLib/testRST.expect | 8 | ||||
-rw-r--r-- | Tests/CMakeLib/testRST.rst | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testRST.expect b/Tests/CMakeLib/testRST.expect index 970adaa..64f0896 100644 --- a/Tests/CMakeLib/testRST.expect +++ b/Tests/CMakeLib/testRST.expect @@ -48,6 +48,14 @@ Bracket Comment Content Command other_cmd description. +.. cmake:envvar:: some_var + + Environment variable some_var description. + +.. envvar:: other_var + + Environment variable other_var description. + .. cmake:variable:: some_var Variable some_var description. diff --git a/Tests/CMakeLib/testRST.rst b/Tests/CMakeLib/testRST.rst index 6462f1b..4c77595 100644 --- a/Tests/CMakeLib/testRST.rst +++ b/Tests/CMakeLib/testRST.rst @@ -51,6 +51,14 @@ Inline literal ``__`` followed by inline link `Link Text <InternalDest_>`_. Command other_cmd description. +.. cmake:envvar:: some_var + + Environment variable some_var description. + +.. envvar:: other_var + + Environment variable other_var description. + .. cmake:variable:: some_var Variable some_var description. |