mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:52:44 +00:00 
			
		
		
		
	 631d36fd98
			
		
	
	
		631d36fd98
		
	
	
	
	
		
			
			This adds component declarations so that users can select to not build certain parts of the OS.
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			552 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			552 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     SystemMonitor
 | |
|     REQUIRED
 | |
|     TARGETS SystemMonitor Profiler Inspector
 | |
| )
 | |
| 
 | |
| set(SOURCES
 | |
|     DevicesModel.cpp
 | |
|     GraphWidget.cpp
 | |
|     InterruptsWidget.cpp
 | |
|     main.cpp
 | |
|     MemoryStatsWidget.cpp
 | |
|     NetworkStatisticsWidget.cpp
 | |
|     ProcessFileDescriptorMapWidget.cpp
 | |
|     ProcessMemoryMapWidget.cpp
 | |
|     ProcessModel.cpp
 | |
|     ProcessUnveiledPathsWidget.cpp
 | |
|     ProcessStateWidget.cpp
 | |
|     ThreadStackWidget.cpp
 | |
| )
 | |
| 
 | |
| serenity_app(SystemMonitor ICON app-system-monitor)
 | |
| target_link_libraries(SystemMonitor LibGUI LibSymbolication LibPCIDB)
 |