mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 16:10:20 +00:00
2d487e4e4c
These algorithms are quite chonky, and more APIs around them are to be added, so let's move them to their own files for a bit of organization.
17 lines
483 B
CMake
17 lines
483 B
CMake
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/unicode_data.cmake)
|
|
|
|
set(SOURCES
|
|
CharacterTypes.cpp
|
|
CurrencyCode.cpp
|
|
Emoji.cpp
|
|
Normalize.cpp
|
|
Segmentation.cpp
|
|
String.cpp
|
|
UnicodeUtils.cpp
|
|
${UNICODE_DATA_SOURCES}
|
|
)
|
|
set(GENERATED_SOURCES ${CURRENT_LIB_GENERATED})
|
|
|
|
serenity_lib(LibUnicode unicode)
|
|
target_link_libraries(LibUnicode PRIVATE LibCore)
|
|
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
|