mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
Help: Clarify that bin2c placeholders are like configure_file()
This commit is contained in:
1 file changed
+4
-1
@@ -1066,7 +1066,10 @@ Available commands are:
|
||||
Format from a template file. The template file contains placeholders for
|
||||
the array and optionally the length (which will be a non-negative decimal
|
||||
integer). Such placeholders are enclosed in ``@`` at the beginning and end
|
||||
of the placeholder.
|
||||
of the placeholder. This functionality is similar to
|
||||
:command:`configure_file` called with the ``@ONLY`` argument, but only the
|
||||
array and length placeholders will be replaced, and any other placeholders
|
||||
will be left as-is.
|
||||
|
||||
An example of a potential template file:
|
||||
|
||||
|
||||
Reference in new issue
Block a user