mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
166a905951
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.
21 lines
533 B
CMake
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)
|