Skip to content

build: Add pkg-config support for QMI Framework - #15

Merged
Deepak Kumar Singh (quic-deesin) merged 1 commit into
qualcomm:developmentfrom
Jairaj-quic:add-pkgconfig-support
Apr 9, 2026
Merged

build: Add pkg-config support for QMI Framework#15
Deepak Kumar Singh (quic-deesin) merged 1 commit into
qualcomm:developmentfrom
Jairaj-quic:add-pkgconfig-support

Conversation

@Jairaj-quic

Copy link
Copy Markdown
Contributor

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.

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>
@quic-deesin
Deepak Kumar Singh (quic-deesin) merged commit dcfc79e into qualcomm:development Apr 9, 2026
6 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