mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:37:46 +00:00
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.
This commit is contained in:
parent
c88058cea2
commit
166a905951
54 changed files with 236 additions and 97 deletions
|
@ -12,24 +12,25 @@ compile_gml(MonitorSettings.gml MonitorSettingsGML.h monitor_settings_window_gml
|
|||
compile_gml(ThemesSettings.gml ThemesSettingsGML.h themes_settings_gml)
|
||||
|
||||
set(SOURCES
|
||||
BackgroundSettingsGML.h
|
||||
BackgroundSettingsWidget.cpp
|
||||
DesktopSettingsWidget.cpp
|
||||
DesktopSettingsGML.h
|
||||
EffectsSettingsGML.h
|
||||
EffectsSettingsWidget.cpp
|
||||
FontSettingsGML.h
|
||||
FontSettingsWidget.cpp
|
||||
MonitorSettingsWidget.cpp
|
||||
MonitorSettingsGML.h
|
||||
MonitorWidget.cpp
|
||||
ThemePreviewWidget.h
|
||||
ThemePreviewWidget.cpp
|
||||
ThemesSettingsWidget.h
|
||||
ThemesSettingsWidget.cpp
|
||||
ThemesSettingsGML.h
|
||||
main.cpp
|
||||
)
|
||||
|
||||
set(GENERATED_SOURCES
|
||||
BackgroundSettingsGML.h
|
||||
DesktopSettingsGML.h
|
||||
EffectsSettingsGML.h
|
||||
FontSettingsGML.h
|
||||
MonitorSettingsGML.h
|
||||
ThemesSettingsGML.h
|
||||
)
|
||||
|
||||
serenity_app(DisplaySettings ICON app-display-settings)
|
||||
target_link_libraries(DisplaySettings LibDesktop LibGUI LibConfig LibMain LibEDID)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue