2021-08-08 06:06:55 +00:00
|
|
|
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/unicode_data.cmake)
|
2021-12-14 13:04:30 +00:00
|
|
|
|
|
|
|
set(SOURCES
|
2021-07-25 19:10:51 +00:00
|
|
|
CharacterTypes.cpp
|
2021-09-09 14:49:13 +00:00
|
|
|
CurrencyCode.cpp
|
2022-09-07 17:39:31 +00:00
|
|
|
Emoji.cpp
|
2023-06-15 19:57:13 +00:00
|
|
|
IDNA.cpp
|
2022-10-03 01:57:22 +00:00
|
|
|
Normalize.cpp
|
2023-01-08 21:33:30 +00:00
|
|
|
String.cpp
|
2022-09-02 14:41:33 +00:00
|
|
|
${UNICODE_DATA_SOURCES}
|
2021-07-25 19:10:51 +00:00
|
|
|
)
|
2022-10-17 05:49:52 +00:00
|
|
|
set(GENERATED_SOURCES ${CURRENT_LIB_GENERATED})
|
2021-07-25 19:10:51 +00:00
|
|
|
|
|
|
|
serenity_lib(LibUnicode unicode)
|
2024-03-18 03:22:27 +00:00
|
|
|
|
2024-06-18 15:24:06 +00:00
|
|
|
find_package(ICU REQUIRED COMPONENTS data uc)
|
|
|
|
target_include_directories(LibUnicode PRIVATE ${ICU_INCLUDE_DIRS})
|
|
|
|
target_link_libraries(LibUnicode PUBLIC ${ICU_LIBRARIES})
|