Re: GTK/g++ automake example



On Tue, 2003-09-16 at 10:53, Jacob Kolding wrote:
Does anyone know where to find information 
on configure automake for compiling C++/GTK+ projects (not gtkmm).

You might want to take a look at 

http://bo.majewski.name/bluear/gnu/GTK/plain/
http://bo.majewski.name/bluear/gnu/GTK/i18n/

I know this is in C, but if you add

AC_PROG_CXX

after

AC_PROG_CC

in configure.ac and change the file extension from .c to .cpp it will
use g++ to compile the code. In my project,
http://esos.sourceforge.net/, I am using a mixture of C++ and C, as the
user interface is written in GTK+, while the engine is written in C++.

Bo




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