[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: Re: [Kde-bindings] Replacing kalyptus
From: Richard Dale <rdale () foton ! es>
Date: 2007-10-03 17:07:08
Message-ID: 200710031807.08487.rdale () foton ! es
[Download RAW message or body]
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
> printf("QT_NO_FOOBAR\n");
> #endif
> 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.
-- Richard
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic