summaryrefslogtreecommitdiff
path: root/Userland/Applications/ThemeEditor/CMakeLists.txt
blob: ff9a28496d046d5a18aa62143b4e62acbafc0150 (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
serenity_component(
    ThemeEditor
    TARGETS ThemeEditor
)

compile_gml(ThemeEditor.gml ThemeEditorGML.h theme_editor_gml)
compile_gml(AlignmentProperty.gml AlignmentPropertyGML.h alignment_property_gml)
compile_gml(ColorProperty.gml ColorPropertyGML.h color_property_gml)
compile_gml(FlagProperty.gml FlagPropertyGML.h flag_property_gml)
compile_gml(MetricProperty.gml MetricPropertyGML.h metric_property_gml)
compile_gml(PathProperty.gml PathPropertyGML.h path_property_gml)
compile_gml(Previews/WindowPreview.gml WindowPreviewGML.h window_preview_gml)

set(SOURCES
    main.cpp
    MainWidget.cpp
    PreviewWidget.cpp
    AlignmentPropertyGML.h
    ColorPropertyGML.h
    FlagPropertyGML.h
    MetricPropertyGML.h
    PathPropertyGML.h
    ThemeEditorGML.h
    WindowPreviewGML.h
)

serenity_app(ThemeEditor ICON app-theme-editor)
target_link_libraries(ThemeEditor LibGUI LibFileSystemAccessClient LibMain)