Skip to content

Commit

Permalink
Meta: Rename compile_gml to stringify_gml
Browse files Browse the repository at this point in the history
This is what this function really does, it doesn't compile anything.
  • Loading branch information
kleinesfilmroellchen authored and gmta committed Aug 11, 2023
1 parent e2dbce8 commit 1e67435
Show file tree
Hide file tree
Showing 51 changed files with 116 additions and 116 deletions.
4 changes: 2 additions & 2 deletions Base/usr/share/man/man5/GML/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ How to use GML in SerenityOS C++ applications

## CMake

Include `compile_gml()` your applications CMake file. The header file name and GML string name are not fixed but must follow this convention.
Include `stringify_gml()` your applications CMake file. The header file name and GML string name are not fixed but must follow this convention.

```cmake
compile_gml(MyApp.gml MyAppGML.h my_app_gml)
stringify_gml(MyApp.gml MyAppGML.h my_app_gml)
```

Include the name of the header file that will be compiled from your GML file in your `SOURCES`.
Expand Down
2 changes: 1 addition & 1 deletion Meta/CMake/code_generators.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Functions for generating sources using host tools
#

function(compile_gml source output string_name)
function(stringify_gml source output string_name)
set(source ${CMAKE_CURRENT_SOURCE_DIR}/${source})
add_custom_command(
OUTPUT ${output}
Expand Down
10 changes: 5 additions & 5 deletions Userland/Applications/Browser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ serenity_component(
DEPENDS BrowserSettings ImageDecoder RequestServer WebContent WebSocket
)

compile_gml(BrowserWindow.gml BrowserWindowGML.h browser_window_gml)
compile_gml(EditBookmark.gml EditBookmarkGML.h edit_bookmark_gml)
compile_gml(History/HistoryWidget.gml HistoryWidgetGML.h history_widget_gml)
compile_gml(StorageWidget.gml StorageWidgetGML.h storage_widget_gml)
compile_gml(Tab.gml TabGML.h tab_gml)
stringify_gml(BrowserWindow.gml BrowserWindowGML.h browser_window_gml)
stringify_gml(EditBookmark.gml EditBookmarkGML.h edit_bookmark_gml)
stringify_gml(History/HistoryWidget.gml HistoryWidgetGML.h history_widget_gml)
stringify_gml(StorageWidget.gml StorageWidgetGML.h storage_widget_gml)
stringify_gml(Tab.gml TabGML.h tab_gml)

set(SOURCES
BookmarksBarWidget.cpp
Expand Down
6 changes: 3 additions & 3 deletions Userland/Applications/BrowserSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ serenity_component(
TARGETS BrowserSettings
)

compile_gml(AutoplaySettingsWidget.gml AutoplaySettingsWidgetGML.h autoplay_settings_widget_gml)
compile_gml(BrowserSettingsWidget.gml BrowserSettingsWidgetGML.h browser_settings_widget_gml)
compile_gml(ContentFilterSettingsWidget.gml ContentFilterSettingsWidgetGML.h content_filter_settings_widget_gml)
stringify_gml(AutoplaySettingsWidget.gml AutoplaySettingsWidgetGML.h autoplay_settings_widget_gml)
stringify_gml(BrowserSettingsWidget.gml BrowserSettingsWidgetGML.h browser_settings_widget_gml)
stringify_gml(ContentFilterSettingsWidget.gml ContentFilterSettingsWidgetGML.h content_filter_settings_widget_gml)

set(SOURCES
AutoplaySettingsWidget.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/Calculator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serenity_component(
TARGETS Calculator
)

compile_gml(CalculatorWindow.gml CalculatorGML.h calculator_gml)
stringify_gml(CalculatorWindow.gml CalculatorGML.h calculator_gml)
set(SOURCES
main.cpp
Calculator.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/Calendar/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ serenity_component(
TARGETS Calendar
)

compile_gml(CalendarWindow.gml CalendarWindowGML.h calendar_window_gml)
stringify_gml(CalendarWindow.gml CalendarWindowGML.h calendar_window_gml)

set(SOURCES
AddEventDialog.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/CalendarSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serenity_component(
TARGETS CalendarSettings
)

compile_gml(CalendarSettingsWidget.gml CalendarSettingsWidgetGML.h calendar_settings_widget_gml)
stringify_gml(CalendarSettingsWidget.gml CalendarSettingsWidgetGML.h calendar_settings_widget_gml)

set(SOURCES
main.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/CertificateSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serenity_component(
TARGETS CertificateSettings
)

compile_gml(CertificateStoreWidget.gml CertificateStoreWidgetGML.h certificate_store_widget_gml)
stringify_gml(CertificateStoreWidget.gml CertificateStoreWidgetGML.h certificate_store_widget_gml)

set(SOURCES
CertificateStoreWidget.cpp
Expand Down
4 changes: 2 additions & 2 deletions Userland/Applications/CharacterMap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ serenity_component(
TARGETS CharacterMap
)

compile_gml(CharacterMapWindow.gml CharacterMapWindowGML.h character_map_window_gml)
compile_gml(CharacterSearchWindow.gml CharacterSearchWindowGML.h character_search_window_gml)
stringify_gml(CharacterMapWindow.gml CharacterMapWindowGML.h character_map_window_gml)
stringify_gml(CharacterSearchWindow.gml CharacterSearchWindowGML.h character_search_window_gml)

set(SOURCES
CharacterMapWidget.cpp
Expand Down
4 changes: 2 additions & 2 deletions Userland/Applications/ClockSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ serenity_component(
TARGETS ClockSettings
)

compile_gml(ClockSettingsWidget.gml ClockSettingsWidgetGML.h clock_settings_widget_gml)
compile_gml(TimeZoneSettingsWidget.gml TimeZoneSettingsWidgetGML.h time_zone_settings_widget_gml)
stringify_gml(ClockSettingsWidget.gml ClockSettingsWidgetGML.h clock_settings_widget_gml)
stringify_gml(TimeZoneSettingsWidget.gml TimeZoneSettingsWidgetGML.h time_zone_settings_widget_gml)

set(SOURCES
main.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/CrashReporter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serenity_component(
TARGETS CrashReporter
)

compile_gml(CrashReporterWindow.gml CrashReporterWindowGML.h crash_reporter_window_gml)
stringify_gml(CrashReporterWindow.gml CrashReporterWindowGML.h crash_reporter_window_gml)


set(SOURCES
Expand Down
12 changes: 6 additions & 6 deletions Userland/Applications/DisplaySettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ serenity_component(
TARGETS DisplaySettings
)

compile_gml(BackgroundSettings.gml BackgroundSettingsGML.h background_settings_gml)
compile_gml(DesktopSettings.gml DesktopSettingsGML.h desktop_settings_gml)
compile_gml(EffectsSettings.gml EffectsSettingsGML.h effects_settings_gml)
compile_gml(FontSettings.gml FontSettingsGML.h font_settings_gml)
compile_gml(MonitorSettings.gml MonitorSettingsGML.h monitor_settings_window_gml)
compile_gml(ThemesSettings.gml ThemesSettingsGML.h themes_settings_gml)
stringify_gml(BackgroundSettings.gml BackgroundSettingsGML.h background_settings_gml)
stringify_gml(DesktopSettings.gml DesktopSettingsGML.h desktop_settings_gml)
stringify_gml(EffectsSettings.gml EffectsSettingsGML.h effects_settings_gml)
stringify_gml(FontSettings.gml FontSettingsGML.h font_settings_gml)
stringify_gml(MonitorSettings.gml MonitorSettingsGML.h monitor_settings_window_gml)
stringify_gml(ThemesSettings.gml ThemesSettingsGML.h themes_settings_gml)

set(SOURCES
BackgroundSettingsWidget.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/Escalator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serenity_component(
TARGETS Escalator
)

compile_gml(Escalator.gml EscalatorGML.h escalator_gml)
stringify_gml(Escalator.gml EscalatorGML.h escalator_gml)

set(SOURCES
main.cpp
Expand Down
16 changes: 8 additions & 8 deletions Userland/Applications/FileManager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ serenity_component(
DEPENDS FileOperation
)

compile_gml(FileManagerWindow.gml FileManagerWindowGML.h file_manager_window_gml)
compile_gml(FileOperationProgress.gml FileOperationProgressGML.h file_operation_progress_gml)
compile_gml(PropertiesWindowArchiveTab.gml PropertiesWindowArchiveTabGML.h properties_window_archive_tab_gml)
compile_gml(PropertiesWindowAudioTab.gml PropertiesWindowAudioTabGML.h properties_window_audio_tab_gml)
compile_gml(PropertiesWindowFontTab.gml PropertiesWindowFontTabGML.h properties_window_font_tab_gml)
compile_gml(PropertiesWindowGeneralTab.gml PropertiesWindowGeneralTabGML.h properties_window_general_tab_gml)
compile_gml(PropertiesWindowImageTab.gml PropertiesWindowImageTabGML.h properties_window_image_tab_gml)
compile_gml(PropertiesWindowPDFTab.gml PropertiesWindowPDFTabGML.h properties_window_pdf_tab_gml)
stringify_gml(FileManagerWindow.gml FileManagerWindowGML.h file_manager_window_gml)
stringify_gml(FileOperationProgress.gml FileOperationProgressGML.h file_operation_progress_gml)
stringify_gml(PropertiesWindowArchiveTab.gml PropertiesWindowArchiveTabGML.h properties_window_archive_tab_gml)
stringify_gml(PropertiesWindowAudioTab.gml PropertiesWindowAudioTabGML.h properties_window_audio_tab_gml)
stringify_gml(PropertiesWindowFontTab.gml PropertiesWindowFontTabGML.h properties_window_font_tab_gml)
stringify_gml(PropertiesWindowGeneralTab.gml PropertiesWindowGeneralTabGML.h properties_window_general_tab_gml)
stringify_gml(PropertiesWindowImageTab.gml PropertiesWindowImageTabGML.h properties_window_image_tab_gml)
stringify_gml(PropertiesWindowPDFTab.gml PropertiesWindowPDFTabGML.h properties_window_pdf_tab_gml)

set(SOURCES
DesktopWidget.cpp
Expand Down
8 changes: 4 additions & 4 deletions Userland/Applications/FontEditor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ serenity_component(
)

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)
stringify_gml(FontEditorWindow.gml FontEditorWindowGML.h font_editor_window_gml)
stringify_gml(FontPreviewWindow.gml FontPreviewWindowGML.h font_preview_window_gml)
stringify_gml(NewFontDialogPage1.gml NewFontDialogPage1GML.h new_font_dialog_page_1_gml)
stringify_gml(NewFontDialogPage2.gml NewFontDialogPage2GML.h new_font_dialog_page_2_gml)

set(SOURCES
MainWidget.cpp
Expand Down
4 changes: 2 additions & 2 deletions Userland/Applications/GamesSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ serenity_component(
TARGETS GamesSettings
)

compile_gml(CardSettingsWidget.gml CardSettingsWidgetGML.h card_settings_widget_gml)
compile_gml(ChessSettingsWidget.gml ChessSettingsWidgetGML.h chess_settings_widget_gml)
stringify_gml(CardSettingsWidget.gml CardSettingsWidgetGML.h card_settings_widget_gml)
stringify_gml(ChessSettingsWidget.gml ChessSettingsWidgetGML.h chess_settings_widget_gml)

set(SOURCES
main.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/Help/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ serenity_component(
DEPENDS WebContent
)

compile_gml(HelpWindow.gml HelpWindowGML.h help_window_gml)
stringify_gml(HelpWindow.gml HelpWindowGML.h help_window_gml)

set(SOURCES
History.cpp
Expand Down
6 changes: 3 additions & 3 deletions Userland/Applications/HexEditor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ serenity_component(
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)
stringify_gml(HexEditorWindow.gml HexEditorWindowGML.h hex_editor_window_gml)
stringify_gml(GoToOffsetDialog.gml GoToOffsetDialogGML.h go_to_offset_dialog_gml)
stringify_gml(FindDialog.gml FindDialogGML.h find_dialog_gml)

set(SOURCES
FindDialog.cpp
Expand Down
4 changes: 2 additions & 2 deletions Userland/Applications/KeyboardSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ serenity_component(
TARGETS KeyboardSettings
)

compile_gml(Keyboard.gml KeyboardWidgetGML.h keyboard_widget_gml)
compile_gml(KeymapDialog.gml KeymapDialogGML.h keymap_dialog_gml)
stringify_gml(Keyboard.gml KeyboardWidgetGML.h keyboard_widget_gml)
stringify_gml(KeymapDialog.gml KeymapDialogGML.h keymap_dialog_gml)

set(SOURCES
KeyboardSettingsWidget.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/Mail/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ serenity_component(
DEPENDS WebContent
)

compile_gml(MailWindow.gml MailWindowGML.h mail_window_gml)
stringify_gml(MailWindow.gml MailWindowGML.h mail_window_gml)

set(SOURCES
AccountHolder.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/MailSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serenity_component(
TARGETS MailSettings
)

compile_gml(MailSettingsWidget.gml MailSettingsWidgetGML.h mail_settings_widget_gml)
stringify_gml(MailSettingsWidget.gml MailSettingsWidgetGML.h mail_settings_widget_gml)

set(SOURCES
main.cpp
Expand Down
6 changes: 3 additions & 3 deletions Userland/Applications/MouseSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ serenity_component(
TARGETS MouseSettings
)

compile_gml(Mouse.gml MouseWidgetGML.h mouse_widget_gml)
compile_gml(Theme.gml ThemeWidgetGML.h theme_widget_gml)
compile_gml(Highlight.gml HighlightWidgetGML.h highlight_widget_gml)
stringify_gml(Mouse.gml MouseWidgetGML.h mouse_widget_gml)
stringify_gml(Theme.gml ThemeWidgetGML.h theme_widget_gml)
stringify_gml(Highlight.gml HighlightWidgetGML.h highlight_widget_gml)

set(SOURCES
DoubleClickArrowWidget.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/NetworkSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serenity_component(
TARGETS NetworkSettings
)

compile_gml(NetworkSettings.gml NetworkSettingsGML.h network_settings_gml)
stringify_gml(NetworkSettings.gml NetworkSettingsGML.h network_settings_gml)

set(SOURCES
NetworkSettingsWidget.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/PartitionEditor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ serenity_component(
TARGETS PartitionEditor
)

compile_gml(PartitionEditorWindow.gml PartitionEditorWindowGML.h partition_editor_window_gml)
stringify_gml(PartitionEditorWindow.gml PartitionEditorWindowGML.h partition_editor_window_gml)

set(SOURCES
main.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/Piano/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ serenity_component(
DEPENDS AudioServer
)

compile_gml(ExportProgressWidget.gml ExportProgressWidget.h export_progress_widget)
stringify_gml(ExportProgressWidget.gml ExportProgressWidget.h export_progress_widget)

set(SOURCES
AudioPlayerLoop.cpp
Expand Down
16 changes: 8 additions & 8 deletions Userland/Applications/PixelPaint/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ serenity_component(
DEPENDS ImageDecoder FileSystemAccessServer
)

compile_gml(PixelPaintWindow.gml PixelPaintWindowGML.h pixel_paint_window_gml)
compile_gml(EditGuideDialog.gml EditGuideDialogGML.h edit_guide_dialog_gml)
compile_gml(FilterGallery.gml FilterGalleryGML.h filter_gallery_gml)
compile_gml(ResizeImageDialog.gml ResizeImageDialogGML.h resize_image_dialog_gml)
compile_gml(LevelsDialog.gml LevelsDialogGML.h levels_dialog_gml)
compile_gml(LuminosityMasking.gml LuminosityMaskingGML.h luminosity_masking_gml)
compile_gml(ColorMasking.gml ColorMaskingGML.h color_masking_gml)
compile_gml(Filters/MedianSettings.gml Filters/MedianSettingsGML.h median_settings_gml)
stringify_gml(PixelPaintWindow.gml PixelPaintWindowGML.h pixel_paint_window_gml)
stringify_gml(EditGuideDialog.gml EditGuideDialogGML.h edit_guide_dialog_gml)
stringify_gml(FilterGallery.gml FilterGalleryGML.h filter_gallery_gml)
stringify_gml(ResizeImageDialog.gml ResizeImageDialogGML.h resize_image_dialog_gml)
stringify_gml(LevelsDialog.gml LevelsDialogGML.h levels_dialog_gml)
stringify_gml(LuminosityMasking.gml LuminosityMaskingGML.h luminosity_masking_gml)
stringify_gml(ColorMasking.gml ColorMaskingGML.h color_masking_gml)
stringify_gml(Filters/MedianSettings.gml Filters/MedianSettingsGML.h median_settings_gml)

set(SOURCES
CreateNewImageDialog.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/Run/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serenity_component(
TARGETS Run
)

compile_gml(Run.gml RunGML.h run_gml)
stringify_gml(Run.gml RunGML.h run_gml)

set(SOURCES
main.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/SpaceAnalyzer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ serenity_component(
TARGETS SpaceAnalyzer
)

compile_gml(SpaceAnalyzer.gml SpaceAnalyzerGML.h space_analyzer_gml)
stringify_gml(SpaceAnalyzer.gml SpaceAnalyzerGML.h space_analyzer_gml)

set(SOURCES
ProgressWindow.cpp
Expand Down
10 changes: 5 additions & 5 deletions Userland/Applications/Spreadsheet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ serenity_component(
DEPENDS WebContent
)

compile_gml(CondFormatting.gml CondFormattingGML.h cond_fmt_gml)
compile_gml(CondView.gml CondFormattingViewGML.h cond_fmt_view_gml)
compile_gml(csv_import.gml CSVImportGML.h csv_import_gml)
compile_gml(csv_export.gml CSVExportGML.h csv_export_gml)
compile_gml(select_format_page.gml FormatSelectionPageGML.h select_format_page_gml)
stringify_gml(CondFormatting.gml CondFormattingGML.h cond_fmt_gml)
stringify_gml(CondView.gml CondFormattingViewGML.h cond_fmt_view_gml)
stringify_gml(csv_import.gml CSVImportGML.h csv_import_gml)
stringify_gml(csv_export.gml CSVExportGML.h csv_export_gml)
stringify_gml(select_format_page.gml FormatSelectionPageGML.h select_format_page_gml)

set(SOURCES
Cell.cpp
Expand Down
4 changes: 2 additions & 2 deletions Userland/Applications/SystemMonitor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ serenity_component(
TARGETS SystemMonitor Profiler
)

compile_gml(SystemMonitor.gml SystemMonitorGML.h system_monitor_gml)
compile_gml(ProcessWindow.gml ProcessWindowGML.h process_window_gml)
stringify_gml(SystemMonitor.gml SystemMonitorGML.h system_monitor_gml)
stringify_gml(ProcessWindow.gml ProcessWindowGML.h process_window_gml)

set(SOURCES
GraphWidget.cpp
Expand Down
4 changes: 2 additions & 2 deletions Userland/Applications/TerminalSettings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ serenity_component(
TARGETS TerminalSettings
)

compile_gml(TerminalSettingsMain.gml TerminalSettingsMainGML.h terminal_settings_main_gml)
compile_gml(TerminalSettingsView.gml TerminalSettingsViewGML.h terminal_settings_view_gml)
stringify_gml(TerminalSettingsMain.gml TerminalSettingsMainGML.h terminal_settings_main_gml)
stringify_gml(TerminalSettingsView.gml TerminalSettingsViewGML.h terminal_settings_view_gml)

set(SOURCES
TerminalSettingsWidget.cpp
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/TextEditor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ serenity_component(
DEPENDS ImageDecoder RequestServer WebContent FileSystemAccessServer
)

compile_gml(TextEditorWindow.gml TextEditorWindowGML.h text_editor_window_gml)
stringify_gml(TextEditorWindow.gml TextEditorWindowGML.h text_editor_window_gml)

set(SOURCES
FileArgument.cpp
Expand Down
14 changes: 7 additions & 7 deletions Userland/Applications/ThemeEditor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ serenity_component(
TARGETS ThemeEditor
)

compile_gml(ThemeEditor.gml ThemeEditorGML.h theme_editor_gml)
compile_gml(AlignmentProperty.gml AlignmentPropertyGML.h alignment_property_gml)
compile_gml(ColorProperty.gml ColorPropertyGML.h color_property_gml)
compile_gml(FlagProperty.gml FlagPropertyGML.h flag_property_gml)
compile_gml(MetricProperty.gml MetricPropertyGML.h metric_property_gml)
compile_gml(PathProperty.gml PathPropertyGML.h path_property_gml)
compile_gml(Previews/WindowPreview.gml WindowPreviewGML.h window_preview_gml)
stringify_gml(ThemeEditor.gml ThemeEditorGML.h theme_editor_gml)
stringify_gml(AlignmentProperty.gml AlignmentPropertyGML.h alignment_property_gml)
stringify_gml(ColorProperty.gml ColorPropertyGML.h color_property_gml)
stringify_gml(FlagProperty.gml FlagPropertyGML.h flag_property_gml)
stringify_gml(MetricProperty.gml MetricPropertyGML.h metric_property_gml)
stringify_gml(PathProperty.gml PathPropertyGML.h path_property_gml)
stringify_gml(Previews/WindowPreview.gml WindowPreviewGML.h window_preview_gml)

set(SOURCES
MainWidget.cpp
Expand Down
Loading

0 comments on commit 1e67435

Please sign in to comment.