scons as a build system for kdegames
Nagy Thomas
tnagy256 at yahoo.fr
Thu Apr 28 21:29:02 BST 2005
Hello,
I have managed to port kdegames completely to the
bksys/scons scheme. For this kdegames cvs has been
used. The way some programs are build (ksokoban, kolf)
have slowed me down somewhat :)
It is fairly pleasant not to have to re-create
Makefiles all the time and to have the targets
rebuilded when the compilation rules change.
It is also fairly easy to comment modules when you
don't want to have them installed or compiled.
The scripts can be found there (200kb archive):
http://freehackers.org/~tnagy/kdegames_scons_scripts.tar.bz2
and the big archive is there (9Mb):
http://freehackers.org/~tnagy/kdegames-onscons.tar.bz2
The only things missing currently are the installation
of some highscore files and the config.h handling (and
of course some testing).
Concerning the possible import by an IDE, bksys
provides helpers (KDEprogram, KDEshlib) that could be
used to dump the build configuration by running scons
(it will be still easier than parsing makefile
commands ..).
Enjoy,
Thomas
Note: scons is _inside_ for those who do not have it
already - run ./unpack_local_scons.sh and then ./scons
__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
More information about the kde-core-devel
mailing list