mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:52:45 +00:00 
			
		
		
		
	 ce2f1b845f
			
		
	
	
		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.
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			801 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			801 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     FileManager
 | |
|     REQUIRED
 | |
|     TARGETS FileManager
 | |
|     DEPENDS FileOperation
 | |
| )
 | |
| 
 | |
| compile_gml(FileManagerWindow.gml FileManagerWindowGML.h file_manager_window_gml)
 | |
| compile_gml(FileOperationProgress.gml FileOperationProgressGML.h file_operation_progress_gml)
 | |
| compile_gml(PropertiesWindowGeneralTab.gml PropertiesWindowGeneralTabGML.h properties_window_general_tab_gml)
 | |
| 
 | |
| set(SOURCES
 | |
|     DesktopWidget.cpp
 | |
|     DirectoryView.cpp
 | |
|     FileOperationProgressWidget.cpp
 | |
|     FileUtils.cpp
 | |
|     main.cpp
 | |
|     PropertiesWindow.cpp
 | |
| )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     FileManagerWindowGML.h
 | |
|     FileOperationProgressGML.h
 | |
|     PropertiesWindowGeneralTabGML.h
 | |
| )
 | |
| 
 | |
| serenity_app(FileManager ICON app-file-manager)
 | |
| target_link_libraries(FileManager PRIVATE LibCore LibGfx LibGUI LibDesktop LibConfig LibMain)
 |