[Kde-bindings] [PATCH] CMake configuration improvements

Arno Rehn arno at arnorehn.de
Sat Feb 27 15:52:05 UTC 2010


Since the ENABLE_FOO variables in our CMake scripts became quite a mess now 
that we have so many modules, I replaced them all with simple checks for 
In the top-level CMakeLists.txt all packages are searched for with 
macro_optional_find_package(). So if someone doesn't want to compile Nepomuk 
or Soprano bindings, he can still simply disable them with -DWITH_Nepomuk=OFF 
or -DWITH_Soprano=OFF.
I also added a nice feature log at the end of the configuration stage so that 
the user knows which features are enabled and which are not.

Patch attached. Does anyone have objections or suggestions for improvements?

Arno Rehn
arno at arnorehn.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake_improvements.patch
Type: text/x-patch
Size: 32460 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20100227/e55a3739/attachment.patch>

More information about the Kde-bindings mailing list