Skip to content

feat: add cmake install and package export support - #19

Merged
esrrhs merged 1 commit into
masterfrom
feat/cmake-install-support
Sep 29, 2026
Merged

esrrhs merged 1 commit into
masterfrom
feat/cmake-install-support

Conversation

@esrrhs

@esrrhs esrrhs commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add standard CMake installation rules for target fakelua (shared library), flua (CLI tool), and public headers (fakelua.h).
  • Generate and install CMake package configuration files (fakeluaConfig.cmake, fakeluaConfigVersion.cmake, fakeluaTargets.cmake) allowing downstream projects to use find_package(fakelua REQUIRED) and link fakelua::fakelua (or fakelua).
  • Add fakelua.pc pkg-config configuration.
  • Mark bundled CPM dependencies as EXCLUDE_FROM_ALL YES to avoid polluting the host system upon make install.
  • Update README.md and README.zh.md with installation and CMake integration examples.

@esrrhs
esrrhs merged commit d0db1dc into master Sep 29, 2026
9 checks passed
@esrrhs
esrrhs deleted the feat/cmake-install-support branch September 29, 2026 01:04
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.80%. Comparing base (e12a951) to head (a611bd3).
⚠️ Report is 2 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #19   +/-   ##
=======================================
  Coverage   87.80%   87.80%           
=======================================
  Files         119      119           
  Lines       24042    24042           
=======================================
  Hits        21109    21109           
  Misses       2933     2933           

☔ 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.

2 participants