SEP
4
2006
|
CMake now really taking off ?Recently it seem a lot of projects are switching to CMake. Do you know OpenWengo ? Or take the premier Open Source Desktop Publishing application, Scribus . They switched already to CMake, and apparently without major problems: http://public.kitware.com/pipermail/cmake/2006-April/008847.html All apps listed above are Qt4/KDE4 applications (except obviously cdrtools), but there are also other projects switching: Do you know Chicken Scheme ? CHICKEN is a compiler for the Scheme programming language, available under the BSD license. Chicken scheme can now also be built with CMake: http://galinha.ucpel.tche.br/chicken/INSTALL-CMake.txt . CMake also seems to be popular among researchers: both MOOS, the "Cross platform software for mobile robotics research", as also Orca, which is an an open-source framework for developing component-based robotic systems, are using CMake for building their software. So, are we seeing the beginnings of a big change (at least for developers) ? On the KDE side, there's one important thing to mention: I also plan to improve the automoc implementation. Currently approx. 20 to 25 percent of the time of a cmake run are spent in automoc. I plan to move this from cmake time to build time and do it only if required. This will cut off quite some time. Alex P.S. and, well, if you really want to, you can even abuse CMake to convert wavs to mp3s:
foreach(file ${wavs})
|
![]() |
Comments
boson
boson is a qt app as well ;-)
http://games.kde.org/
KDE 3 Apps?
I want to convert my KDE 3 apps to cmake if possible. Can you give an honest appraisal of how capable cmake is with Qt3/KDE3? Many thanks :)
KDE 3 Apps?
KDE3 support is much less tested than the KDE4 support, but it works. Boson uses it as its official buildsystem.
Current cmake cvs KDE3Macros.cmake/FindKDE3.cmake have some fixes compared to the ones coming with cmake 2.4.3.
So if you start using it, we can fix any remaining issues.
Alex
blender
Blender uses SCons, but in it's mailinglist some developers are talking about using CMake. Most parts of blender (blender itself, but not blenderplayer or the gameengine) are already compiling with CMake.
But for the wav2mp3 conversion, wouldn't a shell script be better (shorter and runs everywhere):
for file in *.wav; do
lame $* -b 192 -h "$file" "$(basename "$file" .wav).mp3"
done
I just switched
I switched my blogging app, QTM, to CMake over the weekend; I got the help of Jacek at Qt Centre who posted this guide at the Qt Centre wiki. So much easier than the Autotools (which are not the best documented of tools out there; to my knowledge the only printed book went out of print some years ago). Perhaps someone should get round to putting out a book on both tools?
http://www.blogistan.co.uk/qt/