ladybird/Userland/Games/Hearts/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
420 B
CMake

serenity_component(
Hearts
DESCRIPTION "Hearts game"
RECOMMENDED
TARGETS Hearts
)
compile_gml(Hearts.gml HeartsGML.h hearts_gml)
set(SOURCES
Game.cpp
main.cpp
Player.cpp
ScoreCard.cpp
SettingsDialog.cpp
)
set(GENERATED_SOURCES
HeartsGML.h
)
serenity_app(Hearts ICON app-hearts)
target_link_libraries(Hearts PRIVATE LibCards LibGUI LibGfx LibCore LibConfig LibMain LibDesktop)