mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00: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.
23 lines
420 B
CMake
23 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)
|