[Kde-scm-interest] Re: kdegraphics - a few technical questions

Ian Monroe ian at monroe.nu
Thu Jan 13 15:01:05 CET 2011


On Thu, Jan 13, 2011 at 03:11, Esben Mose Hansen <kde at mosehansen.dk> wrote:
> On Wednesday 12 January 2011 15:28:38 Marcel Wiesweg wrote:
>> a) should CMake modules be moved up to kdelibs or down to the submodule
>> that  needs them?
>
> Instead of uusing CMake modules, I have great experiences with using the
> cmake-config system. Which means that it is each component that have the cmake
> machinery. It also makes finding a library somewhat faster, and it is easier
> to have multiple versions installed.
>
> I have seen a few of these in the KDE-source, so i believe it is in line with
> the KDE mindset.

Yep, all the libraries we write should provide a
LibraryNameConfig.cmake instead of a FindLibraryName.cmake.

Of course the issue is finding all the libraries we don't provide...

Ian


More information about the Kde-scm-interest mailing list