patchWarmux - Patches: patch #618, Add CMake support to wormux

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

patch #618: Add CMake support to wormux

Submitted by:  Reiner Herrmann <deki>
Submitted on:  Tue 17 Oct 2006 10:23:35 PM UTC  
Category: NonePriority: 1 - Later
Status: DonePrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Tue 17 Oct 2006 10:23:35 PM UTC, original submission:


In the last few weeks I over and over noticed trouble with the current autotools scripts (e.g. bug #6673).
I even tried to fix this and got very confused by that weird code... ;)
Then I remembered that there is another Makefile generator called CMake, which is currently used by e.g. KDE4, Scribus, Sim.

I read the documentation, wiki and had a look at some other configuration files for CMake.
And I can now say, that it really is quite simple to learn, easy to understand and extensible.

Because I am coding on Wormux for a few weeks now, I decided to learn CMake more and wrote the scripts for Wormux.
Today I became finished.

I also compared the compile times between compiling with Makefiles from autotools and from CMake.
The result is that the autotools Makefiles take 1min 50sec and the CMake Makefiles 1min 30sec for compilation (only the compilation time; Makefiles were already generated before; and CMake is also a lot of faster in Makefile generation than autotools ;-) ).

So here is the patch that enables CMake support.
You just need to install "CMake" (version 2.4; testet with current version 2.4.3), which is shipped with most distributions.
It would be great if you could test the patch and comment a little whether it worked or if there are bugs.
A friend with FreeBSD was able to successfully compile wormux-svn with this CMake patch, while he had problems with (because of different commandline-options of BSD find).

CMake supports very much architectures out-of-the-box including Cygwin and Windows. My patch is currently only aware of Unix systems, because I have no windows installed for testing.

If there are no objections, I will commit it to svn in some days.
(With this patch applied, there are just some additional files. No existing files are changed, so there is still full autotools support.)

Reiner (deki)

PS: There is a small README.cmake included with some hints...

Reiner Herrmann <deki>
Project Administrator


Attached Files
file #1413:  wormux-cmake.diff added by deki (30kB - text/x-diff - CMake support for Wormux)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by robo210 (Updated the item)
  • -unavailable- added by deki
  • -unavailable- added by deki (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Jan 2007 06:34:57 PM UTCrobo210StatusReady For Test=>Done
    Tue 17 Oct 2006 10:23:36 PM UTCdekiAttached File-=>Added wormux-cmake.diff, #1413
      Carbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup