summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-05 18:28:24 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-05 18:28:24 (GMT)
commitfe21580b84d06c263bbcb6d90089b9e6bb91b25b (patch)
treeba61a8092a54bfa724c660416ef8d09c55f4e9ea /Help
parent433c6d4689ca86f1a8d8d966be0204e98f95b968 (diff)
downloadCMake-fe21580b84d06c263bbcb6d90089b9e6bb91b25b.zip
CMake-fe21580b84d06c263bbcb6d90089b9e6bb91b25b.tar.gz
CMake-fe21580b84d06c263bbcb6d90089b9e6bb91b25b.tar.bz2
Help: Document file(GENERATE) signature option order
In commit v3.1.0-rc1~484^2 (Help: Format and revise file() command documentation, 2014-05-23) the signature of file(GENERATE) was accidentally simplified too much and dropped specification of the required argument ordering. Restore the signature to make the order clear.
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index dbc4149..5d3c4a9 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -247,7 +247,9 @@ the ``<format>`` and ``UTC`` options.
::
- file(GENERATE <options>...)
+ file(GENERATE OUTPUT output-file
+ <INPUT input-file|CONTENT content>
+ [CONDITION expression])
Generate an output file for each build configuration supported by the current
:manual:`CMake Generator <cmake-generators(7)>`. Evaluate