Hi there!
Seems like the FindPkgConfig/UsePkgConfig are used to find the already
existing pkg-config files, but how one could generate a pkg-config
file for a library with CMake-based build process?
--
Rudoy Georg
LeechCraft — http://sourceforge.net/projects/leechcraft and
Hi,
you just create one of your own with variables and let cmake configure
the file. E.g. look at what the plplot library does:
http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/pkgcfg/
Regards,
Werner
0xd34df00d wrote:
Hi there!
Seems like the FindPkgConfig/UsePkgConfig are used to
Hi,
Thanks, seems like this approach would do the trick. But how do I get,
for example, C++ flags for compilation? Now I have in my
CMakeLists.txt:
get_property (COMPILETIME_OPTIONS
TARGET torrent-rasterbar
PROPERTY COMPILE_DEFINITIONS
)
get_property (CPPFLAGS
TARGET