mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:37:35 +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
|
@ -16,9 +16,7 @@ set(SOURCES
|
|||
CreateNewImageDialog.cpp
|
||||
CreateNewLayerDialog.cpp
|
||||
EditGuideDialog.cpp
|
||||
EditGuideDialogGML.h
|
||||
FilterGallery.cpp
|
||||
FilterGalleryGML.h
|
||||
FilterTreeModel.cpp
|
||||
FilterPreviewWidget.cpp
|
||||
Filters/Bloom.cpp
|
||||
|
@ -34,7 +32,6 @@ set(SOURCES
|
|||
Filters/LaplaceCardinal.cpp
|
||||
Filters/LaplaceDiagonal.cpp
|
||||
Filters/Median.cpp
|
||||
Filters/MedianSettingsGML.h
|
||||
Filters/Sepia.cpp
|
||||
Filters/Sharpen.cpp
|
||||
HistogramWidget.cpp
|
||||
|
@ -45,15 +42,12 @@ set(SOURCES
|
|||
Layer.cpp
|
||||
LayerListWidget.cpp
|
||||
LayerPropertiesWidget.cpp
|
||||
LevelsDialogGML.h
|
||||
LevelsDialog.cpp
|
||||
MainWidget.cpp
|
||||
Mask.cpp
|
||||
PaletteWidget.cpp
|
||||
PixelPaintWindowGML.h
|
||||
ProjectLoader.cpp
|
||||
ResizeImageDialog.cpp
|
||||
ResizeImageDialogGML.h
|
||||
ScopeWidget.cpp
|
||||
Selection.cpp
|
||||
ToolPropertiesWidget.cpp
|
||||
|
@ -76,7 +70,16 @@ set(SOURCES
|
|||
Tools/ZoomTool.cpp
|
||||
VectorscopeWidget.cpp
|
||||
main.cpp
|
||||
)
|
||||
)
|
||||
|
||||
set(GENERATED_SOURCES
|
||||
EditGuideDialogGML.h
|
||||
FilterGalleryGML.h
|
||||
Filters/MedianSettingsGML.h
|
||||
LevelsDialogGML.h
|
||||
PixelPaintWindowGML.h
|
||||
ResizeImageDialogGML.h
|
||||
)
|
||||
|
||||
serenity_app(PixelPaint ICON app-pixel-paint)
|
||||
target_link_libraries(PixelPaint LibImageDecoderClient LibGUI LibGfx LibFileSystemAccessClient LibConfig LibMain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue