Bo Peng a écrit :
You know what? when I first think of getting away from m4, I am
looking for something based on python. Python is way easier to work
with.
And then, from this freshmeat article,
http://freshmeat.net/articles/view/889/ , I find
http://freshmeat.net/projects/scons/ . I have not looked at it but if
it is based on python, I think I can learn it quickly....
It is just that I like python so much. :-)
Scons looks as useful and portable as CMake so I'd say it will be clear
improvement over autotools :-)
Note though that the KDE project had a dual build system for a while
(Scons and Cmake) and they finally opted for Cmake because:
1) it was simpler (take a look at a typical CMakeList.txt)
2) it was faster
3) KDE devels had to implement a lot of feature on top of Scons but
Scons developers weren't interested in them so that was a fork.
4) CMake developers were very helpful and added a lot of support for Qt,
MacOSX and Windows for KDE needs (I am sure they would help with the
port reading a bit their mail archive)
5) last but not least, Scons is stuck to python 1.5 or something.
Personnaly I like the CMake approach better because they delegate the
compilation step to the sytem: Makefile for Unix (or Mingw), MS Visual
studio project for MS VC++ users. This approach allows people working
with different systems to work cooperatively without any porting porblem.
Abdel.
Bo