1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 07:25:07 +00:00
serenity/Userland/Applications/CharacterMap/CMakeLists.txt
Sam Atkins 1f0f96e6d7 CharacterMap: Limit the number of results from the GUI character search
Past a few hundred matches, the search is no longer useful, and takes an
excessive amount of time to recalculate the column widths by measuring
thousands of pieces of text. 250 seems like a reasonable arbitrary
limit, and keeps things nice and snappy. :^)
2023-03-05 23:03:32 +01:00

23 lines
611 B
CMake

serenity_component(
CharacterMap
RECOMMENDED
TARGETS CharacterMap
)
compile_gml(CharacterMapWindow.gml CharacterMapWindowGML.h character_map_window_gml)
compile_gml(CharacterSearchWindow.gml CharacterSearchWindowGML.h character_search_window_gml)
set(SOURCES
CharacterMapWidget.cpp
CharacterSearchWidget.cpp
SearchCharacters.cpp
main.cpp
)
set(GENERATED_SOURCES
CharacterMapWindowGML.h
CharacterSearchWindowGML.h
)
serenity_app(CharacterMap ICON app-character-map)
target_link_libraries(CharacterMap PRIVATE LibConfig LibCore LibDesktop LibGfx LibGUI LibMain LibUnicode)