Hi,
Of course, every contribution is welcome. But you may have asked to
other developpers before commiting you changes, because it brings a lot
of changes to the project.
Could you assure that the following features will get on generated with
cmake:
- dist target: make a .tar.gz of the project. Mandatory when releasing.
- install target which accept a DESTDIR option to install in a chroot
environnement (for packaging).
- configure options like : data path, font path, bin path, etc.
These options are used by all maintainers . Personnally, I maintain
Debian packages and the system is aware of autotools but not cmake (AFAIK).
The success of the game comes from it is maintained on a large panel of
distributions. If the 0.8 release is just available as a tar.gz, this
will be a great issue.
I don't mean Cmake is not useful, but it implies big changes. Can you
remove your patch and wait for some days for developpers (and mainly
maintainers) to give their opinion ? You have already one ;-)
Maybe you can create a temporary branch to test the cmake system ?
Best regards,
Jean
Le 18.10.2006 00:23, Reiner Herrmann a écrit :
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-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev
--
_______________________________________
/ Comme toute science, la mathématique \
| ne peut être construite sur la seule |
| logique. -+- David Hilbert, Les |
\ fondements des mathématiques -+- /
---------------------------------------
\ ^__^
\ (--)\_______
(__)\ )\/\
||----w |
|| ||
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev