1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-31 18:42:43 +00:00
serenity/Userland/Applications/CharacterMap/CMakeLists.txt
Ali Mohammad Pur 166a905951 Userland: Properly populate GENERATED_SOURCES
We previously put the generated headers in SOURCES, which did not mark
them as GENERATED (and did not produce a proper dependency).
This commit moves all generated headers into GENERATED_SOURCES, and
removes useless header SOURCES.
2022-10-12 15:55:15 +01:00

22 lines
553 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
main.cpp
)
set(GENERATED_SOURCES
CharacterMapWindowGML.h
CharacterSearchWindowGML.h
)
serenity_app(CharacterMap ICON app-character-map)
target_link_libraries(CharacterMap LibDesktop LibGUI LibMain LibUnicode)