summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibUnicode/CMakeLists.txt
blob: 54c99ceebb40328947eb8ea2be95c2fe164ee1e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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}>)