瀏覽代碼

Docs: Document file(GENERATE) CONDITION as optional.

Stephen Kelly 12 年之前
父節點
當前提交
e454cba292
共有 1 個文件被更改,包括 1 次插入1 次删除
  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(TIMESTAMP filename variable [<format string>] [UTC])\n"
       "  file(GENERATE OUTPUT output_file\n"
       "  file(GENERATE OUTPUT output_file\n"
       "       <INPUT input_file|CONTENT input_content>\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 "
       "WRITE will write a message into a file called 'filename'. It "
       "overwrites the file if it already exists, and creates the file "
       "overwrites the file if it already exists, and creates the file "
       "if it does not exist. (If the file is a build input, use "
       "if it does not exist. (If the file is a build input, use "