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

Snake: Use new GML compiler

This commit is contained in:
Brandon Woodford 2023-11-11 06:27:40 -06:00 committed by Tim Schumacher
parent 5f275cd5ce
commit cdbc2a0dcd
5 changed files with 29 additions and 11 deletions

View file

@ -4,7 +4,7 @@ serenity_component(
TARGETS Snake
)
stringify_gml(Snake.gml SnakeGML.h snake_gml)
compile_gml(Snake.gml SnakeGML.cpp)
set(SOURCES
Game.cpp
@ -12,10 +12,7 @@ set(SOURCES
Skins/ClassicSkin.cpp
Skins/ImageSkin.cpp
Skins/SnakeSkin.cpp
)
set(GENERATED_SOURCES
SnakeGML.h
SnakeGML.cpp
)
serenity_app(Snake ICON app-snake)