summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/CMakeLists.txt
blob: a423b52e37a12def676e4659697bbbd833e02599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
serenity_component(
    PixelPaint
    RECOMMENDED
    TARGETS PixelPaint
    DEPENDS ImageDecoder FileSystemAccessServer
)

compile_gml(PixelPaintWindow.gml PixelPaintWindowGML.h pixel_paint_window_gml)
compile_gml(EditGuideDialog.gml EditGuideDialogGML.h edit_guide_dialog_gml)
compile_gml(FilterGallery.gml FilterGalleryGML.h filter_gallery_gml)
compile_gml(ResizeImageDialog.gml ResizeImageDialogGML.h resize_image_dialog_gml)
compile_gml(LevelsDialog.gml LevelsDialogGML.h levels_dialog_gml)
compile_gml(Filters/MedianSettings.gml Filters/MedianSettingsGML.h median_settings_gml)

set(SOURCES
    CreateNewImageDialog.cpp
    CreateNewLayerDialog.cpp
    EditGuideDialog.cpp
    FilterGallery.cpp
    FilterTreeModel.cpp
    FilterPreviewWidget.cpp
    Filters/Bloom.cpp
    Filters/BoxBlur3.cpp
    Filters/BoxBlur5.cpp
    Filters/Filter.cpp
    Filters/FastBoxBlur.cpp
    Filters/HueAndSaturation.cpp
    Filters/GaussBlur3.cpp
    Filters/GaussBlur5.cpp
    Filters/Grayscale.cpp
    Filters/Invert.cpp
    Filters/LaplaceCardinal.cpp
    Filters/LaplaceDiagonal.cpp
    Filters/Median.cpp
    Filters/Sepia.cpp
    Filters/Sharpen.cpp
    HistogramWidget.cpp
    IconBag.cpp
    Image.cpp
    ImageEditor.cpp
    ImageProcessor.cpp
    Layer.cpp
    LayerListWidget.cpp
    LayerPropertiesWidget.cpp
    LevelsDialog.cpp
    MainWidget.cpp
    Mask.cpp
    PaletteWidget.cpp
    ProjectLoader.cpp
    ResizeImageDialog.cpp
    ScopeWidget.cpp
    Selection.cpp
    ToolPropertiesWidget.cpp
    ToolboxWidget.cpp
    Tools/BrushTool.cpp
    Tools/BucketTool.cpp
    Tools/CloneTool.cpp
    Tools/EllipseTool.cpp
    Tools/EraseTool.cpp
    Tools/GuideTool.cpp
    Tools/LassoSelectTool.cpp
    Tools/LineTool.cpp
    Tools/MoveTool.cpp
    Tools/PenTool.cpp
    Tools/PickerTool.cpp
    Tools/PolygonalSelectTool.cpp
    Tools/RectangleSelectTool.cpp
    Tools/RectangleTool.cpp
    Tools/SprayTool.cpp
    Tools/Tool.cpp
    Tools/WandSelectTool.cpp
    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 PRIVATE LibCore LibImageDecoderClient LibGUI LibGfx LibFileSystemAccessClient LibConfig LibMain LibThreading)