1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 16:37:47 +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(
2048
RECOMMENDED
TARGETS 2048
)
set(SOURCES
BoardView.cpp
Game.cpp

View file

@ -1,3 +1,9 @@
serenity_component(
Breakout
RECOMMENDED
TARGETS Breakout
)
set(SOURCES
main.cpp
Game.cpp

View file

@ -1,3 +1,10 @@
serenity_component(
Chess
RECOMMENDED
TARGETS Chess
DEPENDS ChessEngine
)
set(SOURCES
main.cpp
ChessWidget.cpp

View file

@ -1,3 +1,9 @@
serenity_component(
GameOfLife
RECOMMENDED
TARGETS GameOfLife
)
compile_gml(GameOfLife.gml GameOfLifeGML.h game_of_life_gml)
set(SOURCES

View file

@ -1,3 +1,10 @@
serenity_component(
Hearts
DESCRIPTION "Hearts game"
RECOMMENDED
TARGETS Hearts
)
compile_gml(Hearts.gml HeartsGML.h hearts_gml)
set(SOURCES

View file

@ -1,3 +1,9 @@
serenity_component(
Minesweeper
RECOMMENDED
TARGETS Minesweeper
)
set(SOURCES
Field.cpp
main.cpp

View file

@ -1,3 +1,9 @@
serenity_component(
Pong
RECOMMENDED
TARGETS Pong
)
set(SOURCES
main.cpp
Game.cpp

View file

@ -1,3 +1,9 @@
serenity_component(
Snake
RECOMMENDED
TARGETS Snake
)
set(SOURCES
main.cpp
SnakeGame.cpp

View file

@ -1,3 +1,9 @@
serenity_component(
Solitaire
RECOMMENDED
TARGETS Solitaire
)
compile_gml(Solitaire.gml SolitaireGML.h solitaire_gml)
set(SOURCES