mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-14 13:05:27 +00:00
Added usage example.
This commit is contained in:
parent
8404359bca
commit
992ae7947a
|
@ -3,6 +3,12 @@
|
|||
This is a simple tool to convert C headers to XML files. It works using simple pattern matching - it does not actually parse the header files. For this reason, it will work with only a few, specific header files: ES and CL at this point.
|
||||
|
||||
|
||||
[Example]
|
||||
|
||||
Convert.exe -p:gl -v:4.3 -t:spec -o:../../../Source/Bind/Specifications/GL2/signatures.xml https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/oldspecs/gl.spec https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/oldspecs/enum.spec https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/oldspecs/enumext.spec
|
||||
|
||||
The line above will download the latest .spec files from the public Khronos repository and update signatures.xml for the binding generator.
|
||||
|
||||
[Usage]
|
||||
|
||||
Convert.exe -p:{PREFIX} -v:{VERSION} -t:{TYPE} -o:{OUT} {INPUT1} ... {INPUTn}
|
||||
|
|
Loading…
Reference in a new issue