ladybird/Userland/Games/2048/CMakeLists.txt
Tim Schumacher ce2f1b845f Everywhere: Mark dependencies of most targets as PRIVATE
Otherwise, we end up propagating those dependencies into targets that
link against that library, which creates unnecessary link-time
dependencies.

Also included are changes to readd now missing dependencies to tools
that actually need them.
2022-11-01 14:49:09 +00:00

24 lines
470 B
CMake

serenity_component(
2048
RECOMMENDED
TARGETS 2048
)
compile_gml(GameSizeDialog.gml GameSizeDialogGML.h game_size_dialog_gml)
compile_gml(GameWindow.gml GameWindowGML.h game_window_gml)
set(SOURCES
BoardView.cpp
Game.cpp
GameSizeDialog.cpp
main.cpp
)
set(GENERATED_SOURCES
GameSizeDialogGML.h
GameWindowGML.h
)
serenity_app(2048 ICON app-2048)
target_link_libraries(2048 PRIVATE LibConfig LibCore LibGfx LibGUI LibMain LibDesktop)