mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03: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.
30 lines
761 B
CMake
30 lines
761 B
CMake
serenity_component(
|
|
SystemMonitor
|
|
REQUIRED
|
|
TARGETS SystemMonitor Profiler Inspector
|
|
)
|
|
|
|
compile_gml(SystemMonitor.gml SystemMonitorGML.h system_monitor_gml)
|
|
compile_gml(ProcessWindow.gml ProcessWindowGML.h process_window_gml)
|
|
|
|
set(SOURCES
|
|
GraphWidget.cpp
|
|
main.cpp
|
|
MemoryStatsWidget.cpp
|
|
NetworkStatisticsWidget.cpp
|
|
ProcessFileDescriptorMapWidget.cpp
|
|
ProcessMemoryMapWidget.cpp
|
|
ProcessModel.cpp
|
|
ProcessUnveiledPathsWidget.cpp
|
|
ProcessStateWidget.cpp
|
|
ThreadStackWidget.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
SystemMonitorGML.h
|
|
ProcessWindowGML.h
|
|
)
|
|
|
|
serenity_app(SystemMonitor ICON app-system-monitor)
|
|
target_link_libraries(SystemMonitor PRIVATE LibConfig LibCore LibGfx LibGUI LibMain LibSymbolication LibThreading)
|