ladybird/Userland/Applications/SystemMonitor/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

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)