Thanks to visit codestin.com
Credit goes to github.com

Skip to content

k0michi/icu-portable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icu-portable

icu-portable is a CMake wrapper for icu4c.

Features

  • CMake-based. Integrates seamlessly with your CMake projects.
  • No host build required. Downloads prebuilt ICU data for the target platform, from the official ICU releases.

Installation

To use icu-portable in your CMake project, follow these steps:

  1. Add the following to your CMakeLists.txt:
include(FetchContent)
FetchContent_Declare(
    icu_portable
    GIT_REPOSITORY "https://github.com/k0michi/icu-portable.git"
    GIT_TAG        "main"
)

FetchContent_MakeAvailable(icu_portable)
  1. Link against the ICU libraries in your target:
target_link_libraries(your_target PRIVATE icuuc icui18n icuio)

Requirements

  • CMake 3.20 or higher
  • C++17 compatible compiler
  • Python 3.x (for converting ICU data)

License

Unlicense (public domain). Note that icu4c is licensed under the ICU License.

About

CMake wrapper for ICU4C, no host build required

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published