mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:57:44 +00:00
HexEditor: Port HexEditor to GML compilation
This commit is contained in:
parent
bcec05a7cb
commit
935aaab757
15 changed files with 147 additions and 51 deletions
|
@ -4,24 +4,21 @@ serenity_component(
|
|||
TARGETS HexEditor
|
||||
)
|
||||
|
||||
stringify_gml(HexEditorWindow.gml HexEditorWindowGML.h hex_editor_window_gml)
|
||||
stringify_gml(GoToOffsetDialog.gml GoToOffsetDialogGML.h go_to_offset_dialog_gml)
|
||||
stringify_gml(FindDialog.gml FindDialogGML.h find_dialog_gml)
|
||||
compile_gml(HexEditorWidget.gml HexEditorWidgetGML.cpp)
|
||||
compile_gml(GoToOffsetWidget.gml GoToOffsetWidgetGML.cpp)
|
||||
compile_gml(FindWidget.gml FindWidgetGML.cpp)
|
||||
|
||||
set(SOURCES
|
||||
FindDialog.cpp
|
||||
FindWidgetGML.cpp
|
||||
GoToOffsetDialog.cpp
|
||||
GoToOffsetWidgetGML.cpp
|
||||
HexDocument.cpp
|
||||
HexEditor.cpp
|
||||
HexEditorWidgetGML.cpp
|
||||
HexEditorWidget.cpp
|
||||
main.cpp
|
||||
)
|
||||
|
||||
set(GENERATED_SOURCES
|
||||
FindDialogGML.h
|
||||
GoToOffsetDialogGML.h
|
||||
HexEditorWindowGML.h
|
||||
)
|
||||
|
||||
serenity_app(HexEditor ICON app-hex-editor)
|
||||
target_link_libraries(HexEditor PRIVATE LibCore LibGfx LibGUI LibConfig LibDesktop LibFileSystemAccessClient LibMain LibTextCodec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue