URL:
  <http://gna.org/patch/?618>

                 Summary: Add CMake support to wormux
                 Project: Wormux
            Submitted by: deki
            Submitted on: Mittwoch 18.10.2006 um 00:23
                Category: None
                Priority: 1 - Later
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

Hi!

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 autogen.sh (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.)

Regards,
Reiner (deki)

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



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
Available only the item webpage     | 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mittwoch 18.10.2006 um 00:23  Name: wormux-cmake.diff  Size: 30kB   By:
deki
CMake support for Wormux
<http://gna.org/patch/download.php?file_id=1413>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?618>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to