mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00

This patch ports minesweeper to GML compilation, and introduces a few changes made to associated files.
19 lines
442 B
CMake
19 lines
442 B
CMake
serenity_component(
|
|
Minesweeper
|
|
RECOMMENDED
|
|
TARGETS Minesweeper
|
|
)
|
|
|
|
compile_gml(MainWidget.gml MainWidgetGML.cpp)
|
|
compile_gml(CustomGameWidget.gml CustomGameWidgetGML.cpp)
|
|
|
|
set(SOURCES
|
|
CustomGameDialog.cpp
|
|
CustomGameWidgetGML.cpp
|
|
Field.cpp
|
|
main.cpp
|
|
MainWidgetGML.cpp
|
|
)
|
|
|
|
serenity_app(Minesweeper ICON app-minesweeper)
|
|
target_link_libraries(Minesweeper PRIVATE LibCore LibGfx LibGUI LibConfig LibMain LibDesktop)
|