summaryrefslogtreecommitdiff
path: root/Userland/Applications/FontEditor/CMakeLists.txt
blob: 575538cc4d1dd26383be86863a4393b32870daaa (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
serenity_component(
    FontEditor
    RECOMMENDED
    TARGETS FontEditor
)

include_directories(${CMAKE_CURRENT_BINARY_DIR})
compile_gml(FontEditorWindow.gml FontEditorWindowGML.h font_editor_window_gml)
compile_gml(FontPreviewWindow.gml FontPreviewWindowGML.h font_preview_window_gml)
compile_gml(NewFontDialogPage1.gml NewFontDialogPage1GML.h new_font_dialog_page_1_gml)
compile_gml(NewFontDialogPage2.gml NewFontDialogPage2GML.h new_font_dialog_page_2_gml)

set(SOURCES
    MainWidget.cpp
    FontEditorWindowGML.h
    FontPreviewWindowGML.h
    GlyphEditorWidget.cpp
    main.cpp
    NewFontDialog.cpp
    NewFontDialogPage1GML.h
    NewFontDialogPage2GML.h
    UndoSelection.h
)

serenity_app(FontEditor ICON app-font-editor)
target_link_libraries(FontEditor LibGUI LibDesktop LibGfx LibMain)
link_with_unicode_data(FontEditor)