From ecef46228f7bd1a41609ed7c2de61fbae1b893e1 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Wed, 25 Feb 2026 15:35:58 -0500 Subject: [PATCH] Help: Clarify that bin2c placeholders are like configure_file() --- Help/manual/cmake.1.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 5a2524bd27..2c739b0432 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -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: