diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2020-01-26 17:31:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-02-25 18:14:17 (GMT) |
commit | 54e4f2ad455817bed165fa1cb3682acbd93a8a1a (patch) | |
tree | d522b01b4b3a8f425e4a76c3eaf54a0528634877 /Help/command/macro.rst | |
parent | 3276f85fd774035221d00b291bfe0c624f6a4831 (diff) | |
download | CMake-54e4f2ad455817bed165fa1cb3682acbd93a8a1a.zip CMake-54e4f2ad455817bed165fa1cb3682acbd93a8a1a.tar.gz CMake-54e4f2ad455817bed165fa1cb3682acbd93a8a1a.tar.bz2 |
cmake_command: Add command to INVOKE other commands by name
Fixes: #18392
Diffstat (limited to 'Help/command/macro.rst')
-rw-r--r-- | Help/command/macro.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/command/macro.rst b/Help/command/macro.rst index 3f6f2f9..ee955cb 100644 --- a/Help/command/macro.rst +++ b/Help/command/macro.rst @@ -42,11 +42,15 @@ can be invoked through any of foo() Foo() FOO() + cmake_command(INVOKE foo) and so on. However, it is strongly recommended to stay with the case chosen in the macro definition. Typically macros use all-lowercase names. +The :command:`cmake_command(INVOKE ...)` command can also be used to invoke the +macro. + Arguments ^^^^^^^^^ |