Skip to content

build: Add pkg-config support for QMI Framework Development#16

Merged
Deepak Kumar Singh (quic-deesin) merged 2 commits into
mainfrom
development
Apr 9, 2026
Merged

build: Add pkg-config support for QMI Framework Development#16
Deepak Kumar Singh (quic-deesin) merged 2 commits into
mainfrom
development

Conversation

@quic-deesin

Copy link
Copy Markdown
Contributor

No description provided.

Add unified pkg-config file to simplify library discovery and linking
for applications using the QMI Framework.

Changes:
- Add qmi-framework.pc.in template with all four libraries
  (libqcci, libqcsi, libqencdec, libqmi_common)
- Update configure.ac to generate qmi-framework.pc from template
- Update Makefile.am to install .pc file to pkgconfig directory
- Update .gitignore to exclude generated qmi-framework.pc file

The pkg-config file follows standard autotools conventions and allows
users to easily compile applications with:
  gcc app.c $(pkg-config --cflags --libs qmi-framework) -o app

This simplifies integration with build systems like CMake, Meson, and
traditional Makefiles.

Signed-off-by: Jairaj Solanki <jsolanki@qti.qualcomm.com>
build: Add pkg-config support for QMI Framework
@quic-deesin Deepak Kumar Singh (quic-deesin) merged commit 38adce0 into main Apr 9, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants