mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:47:35 +00:00

This adds component declarations so that users can select to not build certain parts of the OS.
18 lines
323 B
CMake
18 lines
323 B
CMake
serenity_component(
|
|
GameOfLife
|
|
RECOMMENDED
|
|
TARGETS GameOfLife
|
|
)
|
|
|
|
compile_gml(GameOfLife.gml GameOfLifeGML.h game_of_life_gml)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
Board.cpp
|
|
BoardWidget.cpp
|
|
GameOfLifeGML.h
|
|
Pattern.cpp
|
|
)
|
|
|
|
serenity_app(GameOfLife ICON app-gameoflife)
|
|
target_link_libraries(GameOfLife LibGUI)
|