mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
ce2f1b845f
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.
22 lines
571 B
CMake
22 lines
571 B
CMake
serenity_component(
|
|
Minesweeper
|
|
RECOMMENDED
|
|
TARGETS Minesweeper
|
|
)
|
|
|
|
compile_gml(MinesweeperCustomGameWindow.gml MinesweeperCustomGameWindowGML.h minesweeper_custom_game_window_gml)
|
|
compile_gml(MinesweeperWindow.gml MinesweeperWindowGML.h minesweeper_window_gml)
|
|
|
|
set(SOURCES
|
|
CustomGameDialog.cpp
|
|
Field.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
MinesweeperCustomGameWindowGML.h
|
|
MinesweeperWindowGML.h
|
|
)
|
|
|
|
serenity_app(Minesweeper ICON app-minesweeper)
|
|
target_link_libraries(Minesweeper PRIVATE LibCore LibGfx LibGUI LibConfig LibMain LibDesktop)
|