mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 14:12:52 +00:00
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.
20 lines
380 B
CMake
20 lines
380 B
CMake
serenity_component(
|
|
ModelGallery
|
|
TARGETS ModelGallery
|
|
)
|
|
|
|
compile_gml(./BasicModelTab.gml BasicModelTabGML.h basic_model_tab_gml)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
GalleryWidget.cpp
|
|
BasicModel.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
BasicModelTabGML.h
|
|
)
|
|
|
|
serenity_app(ModelGallery ICON app-model-gallery)
|
|
|
|
target_link_libraries(ModelGallery PRIVATE LibCore LibGUI LibGfx LibMain)
|