|
From: | Paul Dann |
Subject: | Re: [Bug-gnubg] cmake |
Date: | Mon, 10 Mar 2008 14:55:05 +0000 |
User-agent: | Thunderbird 2.0.0.12 (Macintosh/20080213) |
Hi Christian, Thanks for your reply. I was starting to pull my hair out trying to get gnubg's autogen to work in MacOS X (Linux was OK). I'm sure it's possible to make it work, but my heart sank at the prospect of delving further into autotools. Given how much easier CMake is to work with, I thought I'd try my hand at porting, and it's been pretty successful so far. Anyway, given that CMake will happily live alongside autotools, I thought someone might be interested in some preliminary work on this. For those that aren't aware, some benefits of CMake are: * simpler configuration files * truly cross-platform (no need for complete GNU toolchain (eg MSYS) in Windows) * generates native project files (Makefiles / XCode projects / VC++ projects) * interactive configuration * prettier output (including progress in %) Check Wikipedia for more info :) Oh, and I can provide a tarball of my current effort if people want to have a look without installing Git. I don't think KBackgammon made the migration to CMake. I don't see it in KDE SVN anyway. Regardless, I'd like to see a truly cross-platform Qt Backgammon. Paul Christian Anthon wrote: On Mon, Mar 3, 2008 at 5:12 PM, Paul Dann <address@hidden> wrote:I don't know if this will be of interest to any of you, but I'm planning to use the GnuBG engine for a Qt Backgammon program, and having no experience maintaining an autotools-based build system, I decided to port GnuBG to CMake.Hi Paul, the autotools system should work on most platforms. The cvs version may work better than 0.15. If you insist on building gnubg with cmake you should look at the configure.in and Makefile.am in the main directory and the Makefile.am in the lib/ directory. The resulting config.h should also be of help. I believe that the kde backgammon program interfaces with gnubg in some way, so you may find guidance on that subject there. Also remember that gnubg is released under the GPL license so if you do anything beyond interfacing with it, your program should be GPL'ed as well. Christian. |
[Prev in Thread] | Current Thread | [Next in Thread] |