ladybird/Userland/Applications/FontEditor/CMakeLists.txt
Tim Schumacher ce2f1b845f Everywhere: Mark dependencies of most targets as PRIVATE
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.
2022-11-01 14:49:09 +00:00

28 lines
841 B
CMake

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
GlyphEditorWidget.cpp
main.cpp
NewFontDialog.cpp
)
set(GENERATED_SOURCES
FontEditorWindowGML.h
FontPreviewWindowGML.h
NewFontDialogPage1GML.h
NewFontDialogPage2GML.h
)
serenity_app(FontEditor ICON app-font-editor)
target_link_libraries(FontEditor PRIVATE LibConfig LibCore LibGUI LibDesktop LibGfx LibMain LibUnicode)