Sfoglia il codice sorgente

Docs: Document file(GENERATE) CONDITION as optional.

Stephen Kelly 12 anni fa
parent
commit
e454cba292
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Source/cmFileCommand.h

+ 1 - 1
Source/cmFileCommand.h

@@ -90,7 +90,7 @@ public:
       "  file(TIMESTAMP filename variable [<format string>] [UTC])\n"
       "  file(GENERATE OUTPUT output_file\n"
       "       <INPUT input_file|CONTENT input_content>\n"
-      "       CONDITION expression)\n"
+      "       [CONDITION expression])\n"
       "WRITE will write a message into a file called 'filename'. It "
       "overwrites the file if it already exists, and creates the file "
       "if it does not exist. (If the file is a build input, use "