mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:47:34 +00:00
Everywhere: Add component declarations
This adds component declarations so that users can select to not build certain parts of the OS.
This commit is contained in:
parent
6e094b8dbe
commit
631d36fd98
89 changed files with 535 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
3DFileViewer
|
||||
RECOMMENDED
|
||||
TARGETS 3DFileViewer
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
Mesh.cpp
|
||||
WavefrontOBJLoader.cpp
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
About
|
||||
REQUIRED
|
||||
TARGETS About
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
AnalogClock
|
||||
RECOMMENDED
|
||||
TARGETS AnalogClock
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
AnalogClock.cpp
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
serenity_component(
|
||||
Browser
|
||||
RECOMMENDED
|
||||
TARGETS Browser
|
||||
DEPENDS ImageDecoder RequestServer WebContent WebSocket
|
||||
)
|
||||
|
||||
compile_gml(BrowserWindow.gml BrowserWindowGML.h browser_window_gml)
|
||||
compile_gml(EditBookmark.gml EditBookmarkGML.h edit_bookmark_gml)
|
||||
compile_gml(Tab.gml TabGML.h tab_gml)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
Calculator
|
||||
RECOMMENDED
|
||||
TARGETS Calculator
|
||||
)
|
||||
|
||||
compile_gml(CalculatorWindow.gml CalculatorGML.h calculator_gml)
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
Calendar
|
||||
TARGETS Calendar
|
||||
)
|
||||
|
||||
compile_gml(CalendarWindow.gml CalendarWindowGML.h calendar_window_gml)
|
||||
|
||||
set(SOURCES
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
CrashReporter
|
||||
REQUIRED
|
||||
TARGETS CrashReporter
|
||||
)
|
||||
|
||||
compile_gml(CrashReporterWindow.gml CrashReporterWindowGML.h crash_reporter_window_gml)
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
Debugger
|
||||
TARGETS Debugger
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
DisplaySettings
|
||||
REQUIRED
|
||||
TARGETS DisplaySettings
|
||||
)
|
||||
|
||||
compile_gml(MonitorSettings.gml MonitorSettingsGML.h monitor_settings_window_gml)
|
||||
compile_gml(BackgroundSettings.gml BackgroundSettingsGML.h background_settings_gml)
|
||||
compile_gml(FontSettings.gml FontSettingsGML.h font_settings_gml)
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
serenity_component(
|
||||
FileManager
|
||||
REQUIRED
|
||||
TARGETS FileManager
|
||||
DEPENDS FileOperation
|
||||
)
|
||||
|
||||
compile_gml(FileManagerWindow.gml FileManagerWindowGML.h file_manager_window_gml)
|
||||
compile_gml(FileOperationProgress.gml FileOperationProgressGML.h file_operation_progress_gml)
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
FontEditor
|
||||
RECOMMENDED
|
||||
TARGETS FontEditor
|
||||
)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
compile_gml(FontEditorWindow.gml FontEditorWindowGML.h font_editor_window_gml)
|
||||
compile_gml(NewFontDialogPage1.gml NewFontDialogPage1GML.h new_font_dialog_page_1_gml)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
Help
|
||||
RECOMMENDED
|
||||
TARGETS Help
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
History.cpp
|
||||
main.cpp
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
HexEditor
|
||||
RECOMMENDED
|
||||
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)
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
IRCClient
|
||||
TARGETS IRCClient
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
IRCAppWindow.cpp
|
||||
IRCChannel.cpp
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
serenity_component(
|
||||
ImageViewer
|
||||
RECOMMENDED
|
||||
TARGETS ImageViewer
|
||||
DEPENDS ImageDecoder
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
ViewWidget.cpp
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
KeyboardMapper
|
||||
RECOMMENDED
|
||||
TARGETS KeyboardMapper
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
KeyboardMapperWidget.cpp
|
||||
KeyButton.cpp
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
KeyboardSettings
|
||||
REQUIRED
|
||||
TARGETS KeyboardSettings
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
Magnifier
|
||||
RECOMMENDED
|
||||
TARGETS Magnifier
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
MagnifierWidget.cpp
|
||||
MagnifierWidget.h
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
MouseSettings
|
||||
REQUIRED
|
||||
TARGETS MouseSettings
|
||||
)
|
||||
|
||||
compile_gml(MouseSettingsWindow.gml MouseSettingsWindowGML.h mouse_settings_window_gml)
|
||||
|
||||
set(SOURCES
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
PDFViewer
|
||||
TARGETS PDFViewer
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
NumericInput.cpp
|
||||
OutlineModel.cpp
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
serenity_component(
|
||||
Piano
|
||||
RECOMMENDED
|
||||
TARGETS Piano
|
||||
DEPENDS AudioServer
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
Track.cpp
|
||||
TrackManager.cpp
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
serenity_component(
|
||||
PixelPaint
|
||||
RECOMMENDED
|
||||
TARGETS PixelPaint
|
||||
DEPENDS ImageDecoder
|
||||
)
|
||||
|
||||
compile_gml(PixelPaintWindow.gml PixelPaintWindowGML.h pixel_paint_window_gml)
|
||||
|
||||
set(SOURCES
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
Run
|
||||
REQUIRED
|
||||
TARGETS Run
|
||||
)
|
||||
|
||||
compile_gml(Run.gml RunGML.h run_gml)
|
||||
|
||||
set(SOURCES
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
serenity_component(
|
||||
SoundPlayer
|
||||
RECOMMENDED
|
||||
TARGETS SoundPlayer
|
||||
DEPENDS AudioServer
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
PlaybackManager.cpp
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
SpaceAnalyzer
|
||||
TARGETS SpaceAnalyzer
|
||||
)
|
||||
|
||||
compile_gml(SpaceAnalyzer.gml SpaceAnalyzerGML.h space_analyzer_gml)
|
||||
|
||||
set(SOURCES
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
Spreadsheet
|
||||
TARGETS Spreadsheet
|
||||
)
|
||||
|
||||
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)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
SystemMonitor
|
||||
REQUIRED
|
||||
TARGETS SystemMonitor Profiler Inspector
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
DevicesModel.cpp
|
||||
GraphWidget.cpp
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
Terminal
|
||||
REQUIRED
|
||||
TARGETS Terminal utmpupdate
|
||||
)
|
||||
|
||||
compile_gml(TerminalSettingsWindow.gml TerminalSettingsWindowGML.h terminal_settings_window_gml)
|
||||
|
||||
set(SOURCES
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
serenity_component(
|
||||
TextEditor
|
||||
RECOMMENDED
|
||||
TARGETS TextEditor
|
||||
DEPENDS ImageDecoder RequestServer WebContent
|
||||
)
|
||||
|
||||
compile_gml(TextEditorWindow.gml TextEditorWindowGML.h text_editor_window_gml)
|
||||
|
||||
set(SOURCES
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
ThemeEditor
|
||||
TARGETS ThemeEditor
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
PreviewWidget.cpp
|
||||
main.cpp
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
VideoPlayer
|
||||
TARGETS VideoPlayer
|
||||
DEPENDS AudioServer
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
Welcome
|
||||
TARGETS Welcome
|
||||
)
|
||||
|
||||
compile_gml(WelcomeWindow.gml WelcomeWindowGML.h welcome_window_gml)
|
||||
|
||||
set(SOURCES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue