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

compile_gml(HexEditorWindow.gml HexEditorWindowGML.h hex_editor_window_gml)
compile_gml(GoToOffsetDialog.gml GoToOffsetDialogGML.h go_to_offset_dialog_gml)
compile_gml(FindDialog.gml FindDialogGML.h find_dialog_gml)

set(SOURCES
    HexEditor.cpp
    HexEditorWidget.cpp
    HexDocument.cpp
    FindDialog.cpp
    GoToOffsetDialog.cpp
    main.cpp
    FindDialogGML.h
    GoToOffsetDialogGML.h
    HexEditorWindowGML.h
)

serenity_app(HexEditor ICON app-hex-editor)
target_link_libraries(HexEditor LibGUI LibConfig LibDesktop LibFileSystemAccessClient LibMain)