1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-31 10:22:45 +00:00
serenity/Userland/Applications/HexEditor/CMakeLists.txt
Ali Mohammad Pur 166a905951 Userland: Properly populate GENERATED_SOURCES
We previously put the generated headers in SOURCES, which did not mark
them as GENERATED (and did not produce a proper dependency).
This commit moves all generated headers into GENERATED_SOURCES, and
removes useless header SOURCES.
2022-10-12 15:55:15 +01:00

27 lines
661 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 LibGUI LibConfig LibDesktop LibFileSystemAccessClient LibMain)