1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 17:37:47 +00:00

GameOfLife: Use the GML compiler

This commit is contained in:
Tim Ledbetter 2023-09-27 23:28:49 +01:00 committed by Andreas Kling
parent 3930702bd2
commit 649c7ee11f
4 changed files with 29 additions and 9 deletions

View file

@ -4,18 +4,15 @@ serenity_component(
TARGETS GameOfLife
)
stringify_gml(GameOfLife.gml GameOfLifeGML.h game_of_life_gml)
compile_gml(GameOfLife.gml GameOfLifeGML.cpp)
set(SOURCES
main.cpp
Board.cpp
BoardWidget.cpp
GameOfLifeGML.cpp
Pattern.cpp
)
set(GENERATED_SOURCES
GameOfLifeGML.h
)
serenity_app(GameOfLife ICON app-gameoflife)
target_link_libraries(GameOfLife PRIVATE LibCore LibGfx LibGUI LibMain LibDesktop)