Skip to content

Add CMake package config with exported sexpp::sexpp target - #72

Merged
ronaldtse merged 1 commit into
mainfrom
cmake-package-config
Jul 19, 2026
Merged

Add CMake package config with exported sexpp::sexpp target#72
ronaldtse merged 1 commit into
mainfrom
cmake-package-config

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Adds a CMake package configuration (sexpp-config.cmake + version file) and exports the sexpp target as sexpp::sexpp, so downstream projects can consume an installed sexpp via find_package(sexpp) — in addition to the existing pkg-config file. This is a prerequisite for making librnp's CMake config properly declare its sexpp dependency (and for packaging sexpp in vcpkg/Conan). Verified locally: configure/build/install to a prefix, then a tiny consumer project using find_package(sexpp) + target_link_libraries(... sexpp::sexpp) builds and runs; pkg-config output is unchanged.

Downstream projects can now consume an installed sexpp via
find_package(sexpp) and target_link_libraries(... sexpp::sexpp),
in addition to the existing pkg-config file. A version file with
SameMajorVersion compatibility is installed as well.
@ronaldtse
ronaldtse merged commit 625afd6 into main Jul 19, 2026
@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.71%. Comparing base (c87079f) to head (bf83bb2).
⚠️ Report is 31 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #72   +/-   ##
=======================================
  Coverage   99.70%   99.71%           
=======================================
  Files          10       10           
  Lines         689      700   +11     
=======================================
+ Hits          687      698   +11     
  Misses          2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant