1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Help: Fix inaccurate use of "function" in macro docs

This commit is contained in:
Dave Abrahams
2024-05-20 14:52:21 -04:00
committed by Brad King
parent 71c52c76fa
commit 67171a99be

View File

@@ -61,7 +61,7 @@ with the arguments passed, and then invoked as normal commands.
In addition to referencing the formal parameters you can reference the
values ``${ARGC}`` which will be set to the number of arguments passed
into the function as well as ``${ARGV0}``, ``${ARGV1}``, ``${ARGV2}``,
into the macro as well as ``${ARGV0}``, ``${ARGV1}``, ``${ARGV2}``,
... which will have the actual values of the arguments passed in.
This facilitates creating macros with optional arguments.