mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00

Currently, we generate separate data files for locale and number format related tables/methods, but provide public accessors for all of the data in one Locale.h file. Rather than continuing this trend for date-time, relative time, etc. formatting, it's a bit easier to reason about if the public accessors are also in separate files.
13 lines
374 B
CMake
13 lines
374 B
CMake
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/unicode_data.cmake)
|
|
|
|
SET(SOURCES
|
|
${UNICODE_DATA_SOURCES}
|
|
CharacterTypes.cpp
|
|
CurrencyCode.cpp
|
|
Locale.cpp
|
|
NumberFormat.cpp
|
|
)
|
|
|
|
serenity_lib(LibUnicode unicode)
|
|
target_link_libraries(LibUnicode LibCore)
|
|
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
|