
This data is published under ISO-4217 as an XML file. Since we can't parse XML files yet, and the data isn't very large, it was translated to C++ manually here.
12 lines
353 B
CMake
12 lines
353 B
CMake
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/unicode_data.cmake)
|
|
|
|
SET(SOURCES
|
|
${UNICODE_DATA_SOURCES}
|
|
CharacterTypes.cpp
|
|
CurrencyCode.cpp
|
|
Locale.cpp
|
|
)
|
|
|
|
serenity_lib(LibUnicode unicode)
|
|
target_link_libraries(LibUnicode LibCore)
|
|
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
|