Re: simple and easy way - gmmproc to wrap a single gobject?



Christopher Lang wrote:
Hi,

is there a simple way, e.g. without using autotools just by using command line gmmproc to wrap a single gobject?

The chapter in the book:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-wrapping-c-libraries.html

looks like a lot of work for just one small gobject.

What is the absolute minimum of files to get gmmproc to produce a c++ class?

Will:

source.c
source.h
source.ccg
source.hg

do?

Is there anything else mandatory? Do I really need that defs stuff?

Is there a "bare minimum example" somewhere that does not require autotools?

Lots of questions...

thanks in advance

cheers
Chris


It depends exactly what your objective is, but if you're just trying to wrap a single class, one option is obviously to wrap it 'manually' (e.g. write the wrapper code by hand without gmmproc).

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]