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:
parent
5f275cd5ce
commit
cdbc2a0dcd
5 changed files with 29 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue