On Thu, Feb 07, 2008 at 08:40:06PM +0800, simon.zheng wrote:

> This library is used to build the "generate_extra_defs" utility executable, 
> which is a tool to generate the signals and properties .defs files.
>
> [ ... ]
>
> Eventally, .defs files and gmmproc work together to generate real .cc and 
> .h source files. More info is 
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-wrapping-c-libraries.html

This is incredibly confusing.  That page doesn't really explain much except
how to copy another project that's already done all the work.

>From what I read in the gtkmm docs, it looks like the gmmproc executable is
used to convert .hg and .ccg files into .h and .cc files, which are then
compiled.  That would indicate that gmmproc should be in /usr/bin, and be
at a high stability level.  But I see no documentation on generate_extra_defs,
or on libglibmm_generate_extra_defs-2.4, so I still don't have a handle on
what they're for.

Is generate_extra_defs something you'd put in a makefile to run over the
.hg and .ccg files to generate a .defs file?  Is
libglibmm_generate_extra_defs-2.4 something that's only ever linked to by
generate_extra_defs, or do user applications link to it as well?

Danek

Reply via email to