summaryrefslogtreecommitdiffstats
path: root/Help/command/function.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-21 17:25:13 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-21 17:36:52 (GMT)
commit94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496 (patch)
treeb2dd5a73b5839d50fa6f5fb0af2c356b69815db5 /Help/command/function.rst
parent3c5d52579b271e99475873cec953a1ecccbea585 (diff)
downloadCMake-94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496.zip
CMake-94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496.tar.gz
CMake-94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496.tar.bz2
cmake_language: Rename command from cmake_command
Also rename the `INVOKE` signature to `CALL`. Fixes: #20732
Diffstat (limited to 'Help/command/function.rst')
-rw-r--r--Help/command/function.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/function.rst b/Help/command/function.rst
index 30938b3..7a9b907 100644
--- a/Help/command/function.rst
+++ b/Help/command/function.rst
@@ -44,14 +44,14 @@ can be invoked through any of
foo()
Foo()
FOO()
- cmake_command(INVOKE foo)
+ cmake_language(CALL foo)
and so on. However, it is strongly recommended to stay with the
case chosen in the function definition. Typically functions use
all-lowercase names.
-The :command:`cmake_command(INVOKE ...)` command can also be used to invoke the
-function.
+The :command:`cmake_language(CALL ...)` command can also be used to
+invoke the function.
Arguments
^^^^^^^^^