[Gtk-sharp-list] Migrating to CMake?

Martin (OPENGeoMap) martin at opengeomap.org
Sat Oct 11 06:27:26 EDT 2008


hi:
> On Sat, 2008-10-11 at 13:37 +0200, Christian Hoff wrote:
>
>   
>> in my opinion the current build process does not suit Gtk# and a 
>> cross-platform project in general. The autotools/make build system is 
>> simply not portable; Windows users have to install either a Cygwin build 
>> environment or create their own Makefiles(as I finally did).
>>     
>
> I just installed cygwin on my new laptop for an installer summit we're
> having this weekend and had things set up and building with little
> effort.  I spent more time downloading and setting up .Net framework
> than anything related to cygwin/gtk+.  I am _far_ from a windows
>   
cygwin is a obsolete tool. The future is mingw. I use atotools in mingw, 
but auto* really suck in windows or linux.
> development guru.  The wiki articles at mono-project.com and medsphere
> document the wrinkles.  I don't see the problem.
>
>   
>> I think we need a cross-platform build process and thought about 
>> migrating to CMake. CMake runs natively on all important 
>> platforms(including MacOS) and seems to fulfill our needs(it does even 
>> support cross-platform compilation!). The gapi-cdecl-insert script can 
>> be replaced by a sed command as I did in the MinGW makefiles already. 
>> What do you think? Is my idea actually possible? I would start working 
>> on it if you want.
>>     
>
> My kneejerk reaction is: not interested.  It would take a more
> compelling argument to talk me into it.  The vast majority of hacking on
> the project occurs on linux, and automake, love it or hate it, is king
> on linux.  As long as it's possible to build on win32 and mac with
> auto*, that's good enough in my opinion, especially if the alternative
> requires me to learn a new build system.
>
> There just aren't a lot of people interested in building the project on
> win32 or mac.  They want installers.
That not true. Yes we want have installer, but first all we need compile 
the tools. After compile things  we need use NSIS:
http://nsis.sourceforge.net/Users

Compiling GTK in windows need some magick before create the installer.

NSIS is a full scripting languages to create installer in windows. In 
the trunk of all free software you see that scripts.

>   I'm meeting with Brad and Cody
> this weekend at the GNOME summit to try to upstream the win32 installer
> process so we are more responsive with those.  The mac installers are
> already handled responsively by the project.
>
> I still think auto* is the correct choice.
>   
There are obsolete technologies in linux and people don´t mind that. I 
believe we have go ahead...

With waf you can compile in a easy way software for visual c++, mingw, 
gcc, mono, D, java, Qt, GTK, gnome, KDE,...

Like WAF in python we can hack it really easy. We can add support to 
IDEs workspace like code-blocks, netbeans, monodevelop, visual studio, etc

by default WAF works like auto*. CMAKE create workspaces for default in 
windows.

Regards.



More information about the Gtk-sharp-list mailing list