1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:37:35 +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:
Gunnar Beutner 2021-06-15 15:16:32 +02:00 committed by Andreas Kling
parent 6e094b8dbe
commit 631d36fd98
89 changed files with 535 additions and 8 deletions

View file

@ -1,3 +1,9 @@
serenity_component(
CatDog
RECOMMENDED
TARGETS CatDog
)
set(SOURCES
CatDog.cpp
SpeechBubble.cpp

View file

@ -1,3 +1,8 @@
serenity_component(
Cube
TARGETS Cube
)
set(SOURCES
Cube.cpp
)

View file

@ -1,3 +1,8 @@
serenity_component(
Eyes
TARGETS Eyes
)
set(SOURCES
main.cpp
EyesWidget.cpp

View file

@ -1,3 +1,8 @@
serenity_component(
Fire
TARGETS Fire
)
set(SOURCES
Fire.cpp
)

View file

@ -1,3 +1,8 @@
serenity_component(
LibGfxDemo
TARGETS LibGfxDemo
)
set(SOURCES
main.cpp
)

View file

@ -1,3 +1,8 @@
serenity_component(
LibGfxScaleDemo
TARGETS LibGfxScaleDemo
)
set(SOURCES
main.cpp
)

View file

@ -1,3 +1,8 @@
serenity_component(
Mandelbrot
TARGETS Mandelbrot
)
set(SOURCES
Mandelbrot.cpp
)

View file

@ -1,3 +1,8 @@
serenity_component(
Mouse
TARGETS Mouse
)
set(SOURCES
main.cpp
)

View file

@ -1,3 +1,8 @@
serenity_component(
Screensaver
TARGETS Screensaver
)
set(SOURCES
Screensaver.cpp
)

View file

@ -1,3 +1,8 @@
serenity_component(
Starfield
TARGETS Starfield
)
set(SOURCES
Starfield.cpp
)

View file

@ -1,3 +1,8 @@
serenity_component(
WidgetGallery
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)