[Gtk-sharp-list] using the generator
15 Jun 2003 21:44:58 -0500
On Sun, 2003-06-15 at 15:27, John Luke wrote:
> I was trying to figure out how to use the Gtk# generator and got stuck.
> I can't figure out how to get it to process a .metadata file. (This is
> for wrapping a lib that is not part of Gtk#.) I looked in
> README.generator, and HACKING, and sources/README, and the Makefiles and
> I can't find anything.
If you invoke the parser with something like
PERLLIB=path gapi.pl mylib.sources target_dir
and mylib.sources contains:
dir_containing_sources Namespace native_library_name.dll
The parser will automatically try to apply a Namespace.metadata file
located in the directory from which the command is invoked.