mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +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.
21 lines
390 B
CMake
21 lines
390 B
CMake
serenity_component(
|
|
GameOfLife
|
|
RECOMMENDED
|
|
TARGETS GameOfLife
|
|
)
|
|
|
|
compile_gml(GameOfLife.gml GameOfLifeGML.h game_of_life_gml)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
Board.cpp
|
|
BoardWidget.cpp
|
|
Pattern.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
GameOfLifeGML.h
|
|
)
|
|
|
|
serenity_app(GameOfLife ICON app-gameoflife)
|
|
target_link_libraries(GameOfLife PRIVATE LibCore LibGfx LibGUI LibMain LibDesktop)
|