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:
parent
49727ffee4
commit
450a2a0f9c
236 changed files with 1774 additions and 2337 deletions
3
Games/CMakeLists.txt
Normal file
3
Games/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
add_subdirectory(Minesweeper)
|
||||
add_subdirectory(Snake)
|
||||
add_subdirectory(Solitaire)
|
|
@ -1,3 +0,0 @@
|
|||
SUBDIRS := $(patsubst %/Makefile,%/,$(wildcard */Makefile))
|
||||
|
||||
include ../Makefile.subdir
|
7
Games/Minesweeper/CMakeLists.txt
Normal file
7
Games/Minesweeper/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
set(SOURCES
|
||||
Field.cpp
|
||||
main.cpp
|
||||
)
|
||||
|
||||
serenity_bin(Minesweeper)
|
||||
target_link_libraries(Minesweeper LibGUI)
|
|
@ -1,9 +0,0 @@
|
|||
OBJS = \
|
||||
Field.o \
|
||||
main.o
|
||||
|
||||
PROGRAM = Minesweeper
|
||||
|
||||
LIB_DEPS = GUI IPC Gfx Core
|
||||
|
||||
include ../../Makefile.common
|
7
Games/Snake/CMakeLists.txt
Normal file
7
Games/Snake/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
set(SOURCES
|
||||
main.cpp
|
||||
SnakeGame.cpp
|
||||
)
|
||||
|
||||
serenity_bin(Snake)
|
||||
target_link_libraries(Snake LibGUI)
|
|
@ -1,9 +0,0 @@
|
|||
OBJS = \
|
||||
SnakeGame.o \
|
||||
main.o
|
||||
|
||||
PROGRAM = Snake
|
||||
|
||||
LIB_DEPS = GUI IPC Gfx Core
|
||||
|
||||
include ../../Makefile.common
|
9
Games/Solitaire/CMakeLists.txt
Normal file
9
Games/Solitaire/CMakeLists.txt
Normal 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)
|
|
@ -1,11 +0,0 @@
|
|||
OBJS = \
|
||||
SolitaireWidget.o\
|
||||
CardStack.o\
|
||||
Card.o\
|
||||
main.o
|
||||
|
||||
PROGRAM = Solitaire
|
||||
|
||||
LIB_DEPS = GUI Gfx IPC Core
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue