12e5b6d6dSopenharmony_cicmake_minimum_required(VERSION 3.16.5) 22e5b6d6dSopenharmony_ci 32e5b6d6dSopenharmony_ciset(CMAKE_CXX_STANDARD 11) 42e5b6d6dSopenharmony_ci 52e5b6d6dSopenharmony_ciproject(icu) 62e5b6d6dSopenharmony_ci 72e5b6d6dSopenharmony_ciset(LibIcuSrc "${PROJECT_SOURCE_DIR}/icu4c/source/common") 82e5b6d6dSopenharmony_ci 92e5b6d6dSopenharmony_ciinclude_directories(${LibIcuSrc}) 102e5b6d6dSopenharmony_ci 112e5b6d6dSopenharmony_ciMESSAGE("ICU_INCLUDE_DIRS: " ${LibIcuSrc}) 122e5b6d6dSopenharmony_ci 132e5b6d6dSopenharmony_ciadd_library(icu STATIC 142e5b6d6dSopenharmony_ci ${LibIcuSrc}/cmemory.cpp 152e5b6d6dSopenharmony_ci ${LibIcuSrc}/cstring.cpp 162e5b6d6dSopenharmony_ci ${LibIcuSrc}/ubidi.cpp 172e5b6d6dSopenharmony_ci ${LibIcuSrc}/ubidiln.cpp 182e5b6d6dSopenharmony_ci ${LibIcuSrc}/ubidiwrt.cpp 192e5b6d6dSopenharmony_ci ${LibIcuSrc}/ubidi_props.cpp 202e5b6d6dSopenharmony_ci ${LibIcuSrc}/uchar.cpp 212e5b6d6dSopenharmony_ci ${LibIcuSrc}/udataswp.cpp 222e5b6d6dSopenharmony_ci ${LibIcuSrc}/uinvchar.cpp 232e5b6d6dSopenharmony_ci ${LibIcuSrc}/ustring.cpp 242e5b6d6dSopenharmony_ci ${LibIcuSrc}/utf_impl.cpp 252e5b6d6dSopenharmony_ci ${LibIcuSrc}/utrie2.cpp 262e5b6d6dSopenharmony_ci ) 272e5b6d6dSopenharmony_ci 282e5b6d6dSopenharmony_citarget_include_directories(icu PUBLIC ${LibIcuSrc}) 29