소스 검색

Meta: Rename compile_gml to stringify_gml

This is what this function really does, it doesn't compile anything.
kleines Filmröllchen 1 년 전
부모
커밋
1e67435ff5
51개의 변경된 파일116개의 추가작업 그리고 116개의 파일을 삭제
  1. 2 2
      Base/usr/share/man/man5/GML/Usage.md
  2. 1 1
      Meta/CMake/code_generators.cmake
  3. 5 5
      Userland/Applications/Browser/CMakeLists.txt
  4. 3 3
      Userland/Applications/BrowserSettings/CMakeLists.txt
  5. 1 1
      Userland/Applications/Calculator/CMakeLists.txt
  6. 1 1
      Userland/Applications/Calendar/CMakeLists.txt
  7. 1 1
      Userland/Applications/CalendarSettings/CMakeLists.txt
  8. 1 1
      Userland/Applications/CertificateSettings/CMakeLists.txt
  9. 2 2
      Userland/Applications/CharacterMap/CMakeLists.txt
  10. 2 2
      Userland/Applications/ClockSettings/CMakeLists.txt
  11. 1 1
      Userland/Applications/CrashReporter/CMakeLists.txt
  12. 6 6
      Userland/Applications/DisplaySettings/CMakeLists.txt
  13. 1 1
      Userland/Applications/Escalator/CMakeLists.txt
  14. 8 8
      Userland/Applications/FileManager/CMakeLists.txt
  15. 4 4
      Userland/Applications/FontEditor/CMakeLists.txt
  16. 2 2
      Userland/Applications/GamesSettings/CMakeLists.txt
  17. 1 1
      Userland/Applications/Help/CMakeLists.txt
  18. 3 3
      Userland/Applications/HexEditor/CMakeLists.txt
  19. 2 2
      Userland/Applications/KeyboardSettings/CMakeLists.txt
  20. 1 1
      Userland/Applications/Mail/CMakeLists.txt
  21. 1 1
      Userland/Applications/MailSettings/CMakeLists.txt
  22. 3 3
      Userland/Applications/MouseSettings/CMakeLists.txt
  23. 1 1
      Userland/Applications/NetworkSettings/CMakeLists.txt
  24. 1 1
      Userland/Applications/PartitionEditor/CMakeLists.txt
  25. 1 1
      Userland/Applications/Piano/CMakeLists.txt
  26. 8 8
      Userland/Applications/PixelPaint/CMakeLists.txt
  27. 1 1
      Userland/Applications/Run/CMakeLists.txt
  28. 1 1
      Userland/Applications/SpaceAnalyzer/CMakeLists.txt
  29. 5 5
      Userland/Applications/Spreadsheet/CMakeLists.txt
  30. 2 2
      Userland/Applications/SystemMonitor/CMakeLists.txt
  31. 2 2
      Userland/Applications/TerminalSettings/CMakeLists.txt
  32. 1 1
      Userland/Applications/TextEditor/CMakeLists.txt
  33. 7 7
      Userland/Applications/ThemeEditor/CMakeLists.txt
  34. 1 1
      Userland/Applications/VideoPlayer/CMakeLists.txt
  35. 1 1
      Userland/Applications/Welcome/CMakeLists.txt
  36. 1 1
      Userland/Demos/ModelGallery/CMakeLists.txt
  37. 8 8
      Userland/Demos/WidgetGallery/CMakeLists.txt
  38. 1 1
      Userland/DevTools/GMLPlayground/CMakeLists.txt
  39. 2 2
      Userland/DevTools/HackStudio/CMakeLists.txt
  40. 1 1
      Userland/DevTools/SQLStudio/CMakeLists.txt
  41. 2 2
      Userland/Games/2048/CMakeLists.txt
  42. 2 2
      Userland/Games/Flood/CMakeLists.txt
  43. 1 1
      Userland/Games/GameOfLife/CMakeLists.txt
  44. 1 1
      Userland/Games/Hearts/CMakeLists.txt
  45. 1 1
      Userland/Games/MasterWord/CMakeLists.txt
  46. 2 2
      Userland/Games/Minesweeper/CMakeLists.txt
  47. 1 1
      Userland/Games/Snake/CMakeLists.txt
  48. 1 1
      Userland/Games/Solitaire/CMakeLists.txt
  49. 1 1
      Userland/Games/Spider/CMakeLists.txt
  50. 6 6
      Userland/Libraries/LibGUI/CMakeLists.txt
  51. 1 1
      Userland/Services/LoginServer/CMakeLists.txt

+ 2 - 2
Base/usr/share/man/man5/GML/Usage.md

@@ -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`.

+ 1 - 1
Meta/CMake/code_generators.cmake

@@ -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}

+ 5 - 5
Userland/Applications/Browser/CMakeLists.txt

@@ -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

+ 3 - 3
Userland/Applications/BrowserSettings/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/Calculator/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/Calendar/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/CalendarSettings/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/CertificateSettings/CMakeLists.txt

@@ -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

+ 2 - 2
Userland/Applications/CharacterMap/CMakeLists.txt

@@ -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

+ 2 - 2
Userland/Applications/ClockSettings/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/CrashReporter/CMakeLists.txt

@@ -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

+ 6 - 6
Userland/Applications/DisplaySettings/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/Escalator/CMakeLists.txt

@@ -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

+ 8 - 8
Userland/Applications/FileManager/CMakeLists.txt

@@ -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

+ 4 - 4
Userland/Applications/FontEditor/CMakeLists.txt

@@ -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

+ 2 - 2
Userland/Applications/GamesSettings/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/Help/CMakeLists.txt

@@ -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

+ 3 - 3
Userland/Applications/HexEditor/CMakeLists.txt

@@ -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

+ 2 - 2
Userland/Applications/KeyboardSettings/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/Mail/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/MailSettings/CMakeLists.txt

@@ -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

+ 3 - 3
Userland/Applications/MouseSettings/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/NetworkSettings/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/PartitionEditor/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/Piano/CMakeLists.txt

@@ -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

+ 8 - 8
Userland/Applications/PixelPaint/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/Run/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/SpaceAnalyzer/CMakeLists.txt

@@ -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

+ 5 - 5
Userland/Applications/Spreadsheet/CMakeLists.txt

@@ -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

+ 2 - 2
Userland/Applications/SystemMonitor/CMakeLists.txt

@@ -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

+ 2 - 2
Userland/Applications/TerminalSettings/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/TextEditor/CMakeLists.txt

@@ -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

+ 7 - 7
Userland/Applications/ThemeEditor/CMakeLists.txt

@@ -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

+ 1 - 1
Userland/Applications/VideoPlayer/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     DEPENDS AudioServer
 )
 
-compile_gml(VideoPlayerWindow.gml VideoPlayerWindowGML.h videoplayer_window_gml)
+stringify_gml(VideoPlayerWindow.gml VideoPlayerWindowGML.h videoplayer_window_gml)
 
 set(SOURCES
     main.cpp

+ 1 - 1
Userland/Applications/Welcome/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     DEPENDS Help WebContent
 )
 
-compile_gml(WelcomeWindow.gml WelcomeWindowGML.h welcome_window_gml)
+stringify_gml(WelcomeWindow.gml WelcomeWindowGML.h welcome_window_gml)
 
 set(SOURCES
     WelcomeWidget.cpp

+ 1 - 1
Userland/Demos/ModelGallery/CMakeLists.txt

@@ -3,7 +3,7 @@ serenity_component(
     TARGETS ModelGallery
 )
 
-compile_gml(./BasicModelTab.gml BasicModelTabGML.h basic_model_tab_gml)
+stringify_gml(./BasicModelTab.gml BasicModelTabGML.h basic_model_tab_gml)
 
 set(SOURCES
     main.cpp

+ 8 - 8
Userland/Demos/WidgetGallery/CMakeLists.txt

@@ -3,14 +3,14 @@ serenity_component(
     TARGETS WidgetGallery
 )
 
-compile_gml(./GalleryGML/Window.gml WindowGML.h window_gml)
-compile_gml(./GalleryGML/BasicsTab.gml BasicsTabGML.h basics_tab_gml)
-compile_gml(./GalleryGML/SlidersTab.gml SlidersTabGML.h sliders_tab_gml)
-compile_gml(./GalleryGML/CursorsTab.gml CursorsTabGML.h cursors_tab_gml)
-compile_gml(./GalleryGML/IconsTab.gml IconsTabGML.h icons_tab_gml)
-compile_gml(./GalleryGML/WizardsTab.gml WizardsTabGML.h wizards_tab_gml)
-compile_gml(DemoWizardPage1.gml DemoWizardPage1GML.h demo_wizard_page_1_gml)
-compile_gml(DemoWizardPage2.gml DemoWizardPage2GML.h demo_wizard_page_2_gml)
+stringify_gml(./GalleryGML/Window.gml WindowGML.h window_gml)
+stringify_gml(./GalleryGML/BasicsTab.gml BasicsTabGML.h basics_tab_gml)
+stringify_gml(./GalleryGML/SlidersTab.gml SlidersTabGML.h sliders_tab_gml)
+stringify_gml(./GalleryGML/CursorsTab.gml CursorsTabGML.h cursors_tab_gml)
+stringify_gml(./GalleryGML/IconsTab.gml IconsTabGML.h icons_tab_gml)
+stringify_gml(./GalleryGML/WizardsTab.gml WizardsTabGML.h wizards_tab_gml)
+stringify_gml(DemoWizardPage1.gml DemoWizardPage1GML.h demo_wizard_page_1_gml)
+stringify_gml(DemoWizardPage2.gml DemoWizardPage2GML.h demo_wizard_page_2_gml)
 
 set(SOURCES
     main.cpp

+ 1 - 1
Userland/DevTools/GMLPlayground/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     TARGETS GMLPlayground
 )
 
-compile_gml(GMLPlaygroundWindow.gml GMLPlaygroundWindowGML.h gml_playground_window_gml)
+stringify_gml(GMLPlaygroundWindow.gml GMLPlaygroundWindowGML.h gml_playground_window_gml)
 
 set(SOURCES
     MainWidget.cpp

+ 2 - 2
Userland/DevTools/HackStudio/CMakeLists.txt

@@ -8,8 +8,8 @@ serenity_component(
 add_subdirectory(LanguageServers)
 add_subdirectory(LanguageClients)
 
-compile_gml(Dialogs/NewProjectDialog.gml Dialogs/NewProjectDialogGML.h new_project_dialog_gml)
-compile_gml(Dialogs/Git/GitCommitDialog.gml Dialogs/Git/GitCommitDialogGML.h git_commit_dialog_gml)
+stringify_gml(Dialogs/NewProjectDialog.gml Dialogs/NewProjectDialogGML.h new_project_dialog_gml)
+stringify_gml(Dialogs/Git/GitCommitDialog.gml Dialogs/Git/GitCommitDialogGML.h git_commit_dialog_gml)
 
 set(SOURCES
     CodeDocument.cpp

+ 1 - 1
Userland/DevTools/SQLStudio/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     TARGETS SQLStudio
 )
 
-compile_gml(SQLStudio.gml SQLStudioGML.h sql_studio_gml)
+stringify_gml(SQLStudio.gml SQLStudioGML.h sql_studio_gml)
 
 set(SOURCES
     main.cpp

+ 2 - 2
Userland/Games/2048/CMakeLists.txt

@@ -4,8 +4,8 @@ serenity_component(
     TARGETS 2048
 )
 
-compile_gml(GameSizeDialog.gml GameSizeDialogGML.h game_size_dialog_gml)
-compile_gml(GameWindow.gml GameWindowGML.h game_window_gml)
+stringify_gml(GameSizeDialog.gml GameSizeDialogGML.h game_size_dialog_gml)
+stringify_gml(GameWindow.gml GameWindowGML.h game_window_gml)
 
 set(SOURCES
     BoardView.cpp

+ 2 - 2
Userland/Games/Flood/CMakeLists.txt

@@ -4,8 +4,8 @@ serenity_component(
     TARGETS Flood
 )
 
-compile_gml(FloodWindow.gml FloodWindowGML.h flood_window_gml)
-compile_gml(SettingsDialog.gml SettingsDialogGML.h settings_dialog_gml)
+stringify_gml(FloodWindow.gml FloodWindowGML.h flood_window_gml)
+stringify_gml(SettingsDialog.gml SettingsDialogGML.h settings_dialog_gml)
 
 set(SOURCES
     Board.cpp

+ 1 - 1
Userland/Games/GameOfLife/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     TARGETS GameOfLife
 )
 
-compile_gml(GameOfLife.gml GameOfLifeGML.h game_of_life_gml)
+stringify_gml(GameOfLife.gml GameOfLifeGML.h game_of_life_gml)
 
 set(SOURCES
     main.cpp

+ 1 - 1
Userland/Games/Hearts/CMakeLists.txt

@@ -5,7 +5,7 @@ serenity_component(
     TARGETS Hearts
 )
 
-compile_gml(Hearts.gml HeartsGML.h hearts_gml)
+stringify_gml(Hearts.gml HeartsGML.h hearts_gml)
 
 set(SOURCES
     Game.cpp

+ 1 - 1
Userland/Games/MasterWord/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     TARGETS MasterWord
 )
 
-compile_gml(MasterWord.gml MasterWordGML.h master_word_gml)
+stringify_gml(MasterWord.gml MasterWordGML.h master_word_gml)
 
 set(SOURCES
     main.cpp

+ 2 - 2
Userland/Games/Minesweeper/CMakeLists.txt

@@ -4,8 +4,8 @@ serenity_component(
     TARGETS Minesweeper
 )
 
-compile_gml(MinesweeperCustomGameWindow.gml MinesweeperCustomGameWindowGML.h minesweeper_custom_game_window_gml)
-compile_gml(MinesweeperWindow.gml MinesweeperWindowGML.h minesweeper_window_gml)
+stringify_gml(MinesweeperCustomGameWindow.gml MinesweeperCustomGameWindowGML.h minesweeper_custom_game_window_gml)
+stringify_gml(MinesweeperWindow.gml MinesweeperWindowGML.h minesweeper_window_gml)
 
 set(SOURCES
     CustomGameDialog.cpp

+ 1 - 1
Userland/Games/Snake/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     TARGETS Snake
 )
 
-compile_gml(Snake.gml SnakeGML.h snake_gml)
+stringify_gml(Snake.gml SnakeGML.h snake_gml)
 
 set(SOURCES
     Game.cpp

+ 1 - 1
Userland/Games/Solitaire/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     TARGETS Solitaire
 )
 
-compile_gml(Solitaire.gml SolitaireGML.h solitaire_gml)
+stringify_gml(Solitaire.gml SolitaireGML.h solitaire_gml)
 
 set(SOURCES
     Game.cpp

+ 1 - 1
Userland/Games/Spider/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     TARGETS Spider
 )
 
-compile_gml(Spider.gml SpiderGML.h spider_gml)
+stringify_gml(Spider.gml SpiderGML.h spider_gml)
 
 set(SOURCES
     Game.cpp

+ 6 - 6
Userland/Libraries/LibGUI/CMakeLists.txt

@@ -1,9 +1,9 @@
-compile_gml(AboutDialog.gml AboutDialogGML.h about_dialog_gml)
-compile_gml(EmojiInputDialog.gml EmojiInputDialogGML.h emoji_input_dialog_gml)
-compile_gml(FontPickerDialog.gml FontPickerDialogGML.h font_picker_dialog_gml)
-compile_gml(FilePickerDialog.gml FilePickerDialogGML.h file_picker_dialog_gml)
-compile_gml(IncrementalSearchBanner.gml IncrementalSearchBannerGML.h incremental_search_banner_gml)
-compile_gml(PasswordInputDialog.gml PasswordInputDialogGML.h password_input_dialog_gml)
+stringify_gml(AboutDialog.gml AboutDialogGML.h about_dialog_gml)
+stringify_gml(EmojiInputDialog.gml EmojiInputDialogGML.h emoji_input_dialog_gml)
+stringify_gml(FontPickerDialog.gml FontPickerDialogGML.h font_picker_dialog_gml)
+stringify_gml(FilePickerDialog.gml FilePickerDialogGML.h file_picker_dialog_gml)
+stringify_gml(IncrementalSearchBanner.gml IncrementalSearchBannerGML.h incremental_search_banner_gml)
+stringify_gml(PasswordInputDialog.gml PasswordInputDialogGML.h password_input_dialog_gml)
 
 set(SOURCES
     AboutDialog.cpp

+ 1 - 1
Userland/Services/LoginServer/CMakeLists.txt

@@ -4,7 +4,7 @@ serenity_component(
     TARGETS LoginServer
 )
 
-compile_gml(LoginWindow.gml LoginWindowGML.h login_window_gml)
+stringify_gml(LoginWindow.gml LoginWindowGML.h login_window_gml)
 
 set(SOURCES
     LoginWindow.cpp