summaryrefslogtreecommitdiff
path: root/Userland/Games/Snake/CMakeLists.txt
blob: b92db998fd0899d9f90132fdd62d70e5db9a22ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
serenity_component(
    Snake
    RECOMMENDED
    TARGETS Snake
)

compile_gml(Snake.gml SnakeGML.h snake_gml)

set(SOURCES
    Game.cpp
    main.cpp
    Skins/ClassicSkin.cpp
    Skins/ImageSkin.cpp
    Skins/SnakeSkin.cpp
)

set(GENERATED_SOURCES
    SnakeGML.h
)

serenity_app(Snake ICON app-snake)
target_link_libraries(Snake PRIVATE LibCore LibFileSystem LibGfx LibGUI LibConfig LibMain LibDesktop)