ladybird/Userland/Applications/TerminalSettings/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

21 lines
533 B
CMake

serenity_component(
TerminalSettings
REQUIRED
TARGETS TerminalSettings
)
compile_gml(TerminalSettingsMain.gml TerminalSettingsMainGML.h terminal_settings_main_gml)
compile_gml(TerminalSettingsView.gml TerminalSettingsViewGML.h terminal_settings_view_gml)
set(SOURCES
TerminalSettingsWidget.cpp
main.cpp
)
set(GENERATED_SOURCES
TerminalSettingsMainGML.h
TerminalSettingsViewGML.h
)
serenity_app(TerminalSettings ICON app-terminal)
target_link_libraries(TerminalSettings LibGUI LibConfig LibMain LibVT)