chewing / libchewing

libchewing - The intelligent phonetic input method library
https://chewing.im/
GNU Lesser General Public License v2.1
360 stars 90 forks source link

Generate CMake package files #563

Closed Chocobo1 closed 4 months ago

Chocobo1 commented 4 months ago

Downstream projects will now be able to find libchewing via CMake with the following:

find_package(Chewing REQUIRED)
target_link_libraries(someTarget PRIVATE Chewing::libchewing)

https://cmake.org/cmake/help/latest/guide/tutorial/Adding%20Export%20Configuration.html

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.43%. Comparing base (42d3e2e) to head (a0377c2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #563 +/- ## ======================================= Coverage 88.43% 88.43% ======================================= Files 58 58 Lines 13537 13537 ======================================= Hits 11971 11971 Misses 1566 1566 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.