01.09.2016, 08:34, "n...@appletonaudio.com" <n...@appletonaudio.com>: > On 2016-08-31 23:32, Konstantin Tokarev wrote: >> 31.08.2016, 16:22, "Nick Appleton" <n...@appletonaudio.com>: >>> Hi, >>> >>> I’ve been recently doing a bit of work for an open source project >>> trying to extend it’s support for CMake. I’ve been trying to get CMake >>> to be able to replicate most of the functionality which can be >>> achieved with the existing autoconf-based infrastructure (and have had >>> pretty good success) but am struggling to figure out how to get CMake >>> to generate pkg-config files on unix-ey systems. I’ve done quite a lot >>> of searching, but have not found anything which provides a good >>> solution for our use case. >> >> Do you consider contributing to >> https://api.kde.org/ecm/module/ECMGeneratePkgConfigFile.html ? > > Hi Konstantin, > > Thanks for the reply and pointing me at the ECM repository. > > I was hoping that this would be something that CMake would be able to do > without requiring an external package - particularly since CMake > provides support for finding packages on the system with pkg-config > files. I think adding documentation to our project which says "if you > want to install portaudio into the host system in a way compatible with > autotools-based projects, you will need to get this other repository" > seems a little bit much to me.
It's a usual practice to copy ECM modules into your project, they mostly don't depend on each other. For example, ECMGeneratePkgConfigFile is completely stand-alone. > > Cheers, > > Nick -- Regards, Konstantin -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake