Tom Hacohen <t...@stosb.com> writes: > I'm sorry for not being clear enough in my previous email, I said > shipping FindEina.cmake and the such would be nice (they are like > pkg-config for cmake) as other developers who write code create their > projects using cmake (me for example?) and it would be easier for them > to do find_pkg(Eina) instead of using the pkg_config wrapping cmake macros.
By shipping, I hope you don't mean installing (ie. please don't install FindEina.cmake with eina, for example). It has been discussed quite a couple of times both in CMake's and KDE's mailing lists that applications shouldn't install their own FindFoo.cmake files; the rationale is that Find*.cmake files are used to, well, find stuff, but the application itself already knows where it is going to be installed at build-time. The idea is to either install a file like EinaConfig.cmake with eina, or simply provide a FindEina.cmake as a reference in the tarball for users (or install it with the rest of the documentation). You can see more information about Config files in [1] or [2], and there's some ongoing work upstream to make them easier to write. Also note that CMake recently got some features which might make it easier to interoperate with autotools you might want to take a look [3]. [1] http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file [2] https://projects.kde.org/projects/kde/kdeexamples/repository/revisions/master/show/buildsystem/HowToInstallALibrary [3] https://blogs.kde.org/node/4501 -- Raphael Kubo da Costa ProFUSION embedded systems http://profusion.mobi ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel