[CMake] CMake library installations and pkg-config
nick at appletonaudio.com
nick at appletonaudio.com
Thu Sep 1 01:34:39 EDT 2016
On 2016-08-31 23:32, Konstantin Tokarev wrote:
> 31.08.2016, 16:22, "Nick Appleton" <nick at 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.
Cheers,
Nick
More information about the CMake
mailing list