Hi, On Tuesday 21 December 2010, Niko Sams wrote: > Hi, > > we are in the process of (eventually) splitting kdeedu for git conversion. > If libkdeedu get's an own repository some cmake code is needed to > make is possible to find libkdeedu.
Nice that you come here asking for advice, really :-) > (Current situation is one large repository where relative paths can > just be used) > > Where can I find examples that do similar things? All of the Find-modules in CMake or kdelibs/cmake/modules/ do that :-) In the simple version they consist of a few find_library() find_path() calls, and a following include(FindPackageHandleStandardArgs) find_package_handle_standard_args(...) call. The more advanced version is that libkdeedu would install a LibKdeEduConfig.cmake file into lib/cmake/LibKdeEdu/ , which will be found by find_package(LibKdeEdu) automatically. Examples are e.g. kdevplatform, kdepimlibs, and some more. What you should *not* do (not even consider to do) is to install a FindLibKdeEdu.cmake along with libkdeedu, this would be wrong (like hiding a compass at the north pole, putting the remote just next to the TV, etc...) > We could also need volunteers helping with this issue. Right place here :-) But more for volunteers for reviewing what you come up with :-) Btw. I'll be away for around two weeks starting 24th. Alex _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
