mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 07:25:07 +00:00

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. :^)
23 lines
611 B
CMake
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)
|