mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-25 18:52:22 -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.
21 lines
592 B
CMake
21 lines
592 B
CMake
serenity_component(
|
|
TextEditor
|
|
RECOMMENDED
|
|
TARGETS TextEditor
|
|
DEPENDS ImageDecoder RequestServer WebContent FileSystemAccessServer
|
|
)
|
|
|
|
compile_gml(TextEditorWindow.gml TextEditorWindowGML.h text_editor_window_gml)
|
|
|
|
set(SOURCES
|
|
FileArgument.cpp
|
|
MainWidget.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
TextEditorWindowGML.h
|
|
)
|
|
|
|
serenity_app(TextEditor ICON app-text-editor)
|
|
target_link_libraries(TextEditor PRIVATE LibCore LibWebView LibWeb LibMarkdown LibGfx LibGUI LibShell LibRegex LibDesktop LibCpp LibJS LibSQL LibSyntax LibFileSystemAccessClient LibConfig LibMain)
|