2021-08-08 00:06:55 -06:00
|
|
|
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/unicode_data.cmake)
|
2021-12-14 08:04:30 -05:00
|
|
|
|
|
|
|
set(SOURCES
|
2021-07-25 15:10:51 -04:00
|
|
|
CharacterTypes.cpp
|
2021-09-09 10:49:13 -04:00
|
|
|
CurrencyCode.cpp
|
2022-09-07 13:39:31 -04:00
|
|
|
Emoji.cpp
|
2022-10-02 22:57:22 -03:00
|
|
|
Normalize.cpp
|
2023-02-14 11:08:25 -05:00
|
|
|
Segmentation.cpp
|
2023-01-08 16:33:30 -05:00
|
|
|
String.cpp
|
2023-01-08 16:28:12 -05:00
|
|
|
UnicodeUtils.cpp
|
2022-09-02 10:41:33 -04:00
|
|
|
${UNICODE_DATA_SOURCES}
|
2021-07-25 15:10:51 -04:00
|
|
|
)
|
2022-10-16 23:49:52 -06:00
|
|
|
set(GENERATED_SOURCES ${CURRENT_LIB_GENERATED})
|
2021-07-25 15:10:51 -04:00
|
|
|
|
|
|
|
serenity_lib(LibUnicode unicode)
|
2022-10-21 21:43:56 +02:00
|
|
|
target_link_libraries(LibUnicode PRIVATE LibCore)
|
2021-08-08 00:06:55 -06:00
|
|
|
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
|