likle / cwalk

Path library for C/C++. Cross-Platform for Linux, FreeBSD, Windows and MacOS. Supports UNIX and Windows path styles on those platforms.
https://likle.github.io/cwalk/
MIT License
250 stars 39 forks source link

Generate pkgconfig files #25

Closed mawkish closed 8 months ago

mawkish commented 3 years ago

It'd be useful if running meson build would generate pkg-config files.

You can do it with

pkg = import ('pkgconfig')
pkg.generate (cwalk)

I'm not sure whether you already do this in your cmake files -- I don't know cmake (and barely know meson).

I'm aware that the build instructions say use cmake, but I saw a meson.build and thought, hey, why not? And it worked, sans pkg-config files.

likle commented 3 years ago

Hi @mawkish ! I will investigate on how to do that and add it.

likle commented 8 months ago

This has been implemented in https://github.com/likle/cwalk/commit/982e86076e570eeb64492a83fe5c0309c5c494a9