From 954a9e9893221c4ffe56b5534c4919329d511b74 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 15 Jan 2021 13:58:42 -0500 Subject: Help/dev: Mention 'envvar' domain object in CMake Documentation Guide 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). --- Help/dev/documentation.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Help/dev/documentation.rst b/Help/dev/documentation.rst index c302790..07f04d2 100644 --- a/Help/dev/documentation.rst +++ b/Help/dev/documentation.rst @@ -123,6 +123,11 @@ documentation: ``command`` A CMake language command. +``envvar`` + An environment variable. + See the `cmake-env-variables(7)`_ manual + and the `set()`_ command. + ``generator`` A CMake native build system generator. See the `cmake(1)`_ command-line tool's ``-G`` option. @@ -174,6 +179,10 @@ other documents: This indented block documents . + .. envvar:: + + This indented block documents . + .. variable:: This indented block documents . @@ -183,6 +192,7 @@ the first approach above. .. _`Sphinx Domain`: http://sphinx-doc.org/domains.html .. _`cmake(1)`: https://cmake.org/cmake/help/latest/manual/cmake.1.html +.. _`cmake-env-variables(7)`: https://cmake.org/cmake/help/latest/manual/cmake-env-variables.7.html .. _`cmake-modules(7)`: https://cmake.org/cmake/help/latest/manual/cmake-modules.7.html .. _`cmake-policies(7)`: https://cmake.org/cmake/help/latest/manual/cmake-policies.7.html .. _`cmake-properties(7)`: https://cmake.org/cmake/help/latest/manual/cmake-properties.7.html -- cgit v0.12