Permalink
Browse files

Updated Generator.Convert documentation to match what the tool actual…

…ly does.

git-svn-id: https://opentk.svn.sourceforge.net/svnroot/opentk/trunk@3073 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
  • Loading branch information...
the_fiddler
the_fiddler committed Jul 26, 2011
1 parent 5dac59a commit 5086014f5f3d1cf0861865ae8fcaa56fb8f47d0b
Showing with 4 additions and 2 deletions.
  1. +4 −2 Source/Converter/Readme.txt
@@ -5,10 +5,12 @@ This is a simple tool to convert C headers to XML files. It works using simple p
[Usage]
-CHeaderToXML.exe -p:{PREFIX} -v:{VERSION} {INPUT}
+Convert.exe -p:{PREFIX} -v:{VERSION} -t:{TYPE} -o:{OUT} {INPUT1} ... {INPUTn}
{PREFIX} is a simple string that defines the a common prefix for functions and constants in this header. This prefix will be removed from the generated XML file.
{VERSION} is a string that defines that version that will be used for functions in the generated XML file. Specific input files may override this setting.
- {INPUT} is a space-separated list of input files (headers).
+ {TYPE} can be either 'spec' or 'header' to indicate whether the input files are OpenGL .spec files or C headers.
+ {OUT} is the output filename (optional). If no output file is specified, output will be directed to the console.
+ {INPUT1..n} is a space-separated list of input files (headers).
Despite what the help says, all three parameters are necessary at the moment.

0 comments on commit 5086014

Please sign in to comment.