[CMake] generate .pc for pkgconfig

Brad King brad.king at kitware.com
Wed Aug 23 09:25:52 EDT 2006


Xavier Larrode wrote:
> Is it something (or something plan) to generate pkgconfig extension file
> (.pc) with cmake, on the INSTALL  process maybe?

CMake currently does not have enough information from CMakeLists.txt
files to do this automatically.  There is nothing preventing you from
configuring and installing such a file yourself using CMake commands
like CONFIGURE_FILE, FILE(WRITE), STRING(...), etc.

-Brad


More information about the CMake mailing list