1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-31 08:42:43 +00:00
serenity/Userland/Applications/TextEditor/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

21 lines
559 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 LibWebView LibWeb LibMarkdown LibGUI LibShell LibRegex LibDesktop LibCpp LibJS LibSQL LibFileSystemAccessClient LibConfig LibMain)