1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:47:44 +00:00

Build: Switch to CMake :^)

Closes https://github.com/SerenityOS/serenity/issues/2080
This commit is contained in:
Sergey Bugaev 2020-05-06 18:40:06 +03:00 committed by Andreas Kling
parent 49727ffee4
commit 450a2a0f9c
236 changed files with 1774 additions and 2337 deletions

3
Games/CMakeLists.txt Normal file
View file

@ -0,0 +1,3 @@
add_subdirectory(Minesweeper)
add_subdirectory(Snake)
add_subdirectory(Solitaire)

View file

@ -1,3 +0,0 @@
SUBDIRS := $(patsubst %/Makefile,%/,$(wildcard */Makefile))
include ../Makefile.subdir

View file

@ -0,0 +1,7 @@
set(SOURCES
Field.cpp
main.cpp
)
serenity_bin(Minesweeper)
target_link_libraries(Minesweeper LibGUI)

View file

@ -1,9 +0,0 @@
OBJS = \
Field.o \
main.o
PROGRAM = Minesweeper
LIB_DEPS = GUI IPC Gfx Core
include ../../Makefile.common

View file

@ -0,0 +1,7 @@
set(SOURCES
main.cpp
SnakeGame.cpp
)
serenity_bin(Snake)
target_link_libraries(Snake LibGUI)

View file

@ -1,9 +0,0 @@
OBJS = \
SnakeGame.o \
main.o
PROGRAM = Snake
LIB_DEPS = GUI IPC Gfx Core
include ../../Makefile.common

View file

@ -0,0 +1,9 @@
set(SOURCES
Card.cpp
CardStack.cpp
main.cpp
SolitaireWidget.cpp
)
serenity_bin(Solitaire)
target_link_libraries(Solitaire LibGUI LibGfx LibCore)

View file

@ -1,11 +0,0 @@
OBJS = \
SolitaireWidget.o\
CardStack.o\
Card.o\
main.o
PROGRAM = Solitaire
LIB_DEPS = GUI Gfx IPC Core
include ../../Makefile.common