1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-31 10:22:45 +00:00
serenity/Userland/Applications/SystemMonitor/CMakeLists.txt
Ali Mohammad Pur 166a905951 Userland: Properly populate GENERATED_SOURCES
We previously put the generated headers in SOURCES, which did not mark
them as GENERATED (and did not produce a proper dependency).
This commit moves all generated headers into GENERATED_SOURCES, and
removes useless header SOURCES.
2022-10-12 15:55:15 +01:00

29 lines
715 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 LibGUI LibSymbolication LibMain)