mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-15 07:09:43 +03:00
488a613858
Calling the file MainWindow.gml (and subsequently using MainWindowGML.h for the generated file's name) suggests that's possible for every application, but having a second one anywhere results in the following CMake error: add_custom_target cannot create target "generate_MainWindowGML.h" because another target with the same name already exists. The existing target is a custom target created in source directory [...] It's now also more consistent with the other applications already using GML, namely "BrowserWindow.gml" and "FileManagerWindow.gml".
11 lines
294 B
CMake
11 lines
294 B
CMake
compile_gml(TextEditorWindow.gml TextEditorWindowGML.h text_editor_window_gml)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
TextEditorWidget.cpp
|
|
TextEditorWindowGML.h
|
|
)
|
|
|
|
serenity_app(TextEditor ICON app-text-editor)
|
|
target_link_libraries(TextEditor LibWeb LibMarkdown LibGUI LibShell LibRegex LibDesktop)
|