cpp-pinyinv1.0.2
- Updated
A lightweight Chinese/Cantonese to Pinyin library.
- Project website: https://github.com/wolfgitpr/cpp-pinyin
#Usage
cpp-pinyin provides CMake targets:
find_package(cpp-pinyin CONFIG REQUIRED)
target_link_libraries(main PRIVATE cpp-pinyin::cpp-pinyin)To use the library, you need to copy the dictionary files to the binary directory.
add_custom_command(TARGET main POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy_directory
"${cpp-pinyin_DIR}/dict"
"$<TARGET_FILE_DIR:main>/dict"
)#Supported Platforms
All platforms supported.
#Features
No features defined.
#Dependencies
No dependencies.
#Used By
No ports use this.
#Host Tool For
No ports use this.
#Contributors
wolfgitpr