-
Notifications
You must be signed in to change notification settings - Fork 2.7k
add pkg-config file #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've used |
I actually don't know cmake enough as well. |
I could do this as I've already generated .pc files with CMake. However I can't access the corresponding files right now; I will submit a PR as soon as I can (will take some weeks). |
👍 The idea would be to have a template file (similar to this one) that would be filled with CMake variables (with CONFIGURE_FILE). Note that in our custom CMake toolbox, we handle pretty much everything when generating pkg-config files for all of our projects, so the CMake scripts can become quite complex. Still, you can make something much more simple here. |
Eg. Autobuild relies on that. Please add an option to create this file on building.
Example:
/usr/lib/pkgconfig/jsoncpp.pc
The text was updated successfully, but these errors were encountered: