mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
ce2f1b845f
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
27 lines
684 B
CMake
27 lines
684 B
CMake
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
|
|
FindDialog.cpp
|
|
GoToOffsetDialog.cpp
|
|
HexDocument.cpp
|
|
HexEditor.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)
|