mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:22:43 +00:00 
			
		
		
		
	 7af87e8e6b
			
		
	
	
		7af87e8e6b
		
	
	
	
	
		
			
			Extra stuff done in this commit to facilitate the above (if you want to really push my commit count, ask for more atomicisation): - Register a bunch of widgets that are used in the process window. - Allow setting the pid after the fact for the process state widget.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			699 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			699 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
 | |
|     SystemMonitorGML.h
 | |
|     ProcessWindowGML.h
 | |
| )
 | |
| 
 | |
| serenity_app(SystemMonitor ICON app-system-monitor)
 | |
| target_link_libraries(SystemMonitor LibGUI LibSymbolication LibPCIDB LibMain)
 |