[Kde-bindings] Replacing kalyptus
rdale at foton.es
Wed Oct 3 17:07:08 UTC 2007
On Wednesday 03 October 2007 17:47:58 Arno Rehn wrote:
> > It's the build system stuff like 'qtguess.pl.cmake' that is really
> > difficult to maintain, and I that I would like to get rid of first.
> I'd just let gcc resolve which defines exist. Write a small app with
> #ifdef QT_NO_FOOBAR
> for every define that should be tested, compile it and run it. It should
> run way faster than the perl script and be more convenient to maintain. The
> source could be autogenerated from a list of defines that should be tested.
I think there is a built in facility of cmake that does exactly this. As I
thought the current build system was working, I haven't treated changing to
that as urgent.
There is other tricky stuff in generate.pl.cmake for finding the Qt and KDE
headers, whether they are ordinary installed ones, Mac OS X frameworks or a
qt built in place and not installed. Caleb's recent change to get Mac OS X
framework headers working, broke the code to get qt in place build headers
working. I haven't worked out how to get both working at once yet.
More information about the Kde-bindings