mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 07:02:44 +00:00 
			
		
		
		
	 208e3f1978
			
		
	
	
		208e3f1978
		
	
	
	
	
		
			
			This commit also starts the adoption of ErrorOr<T> and the String class in ImageViewer. However, there is still a few more changes that could be made. Since the actions of using LibFSAC and using String in more places are tightly coupled, I decided to put them in one commit.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			366 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			366 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     ImageViewer
 | |
|     RECOMMENDED
 | |
|     TARGETS ImageViewer
 | |
|     DEPENDS ImageDecoder
 | |
| )
 | |
| 
 | |
| set(SOURCES
 | |
|     main.cpp
 | |
|         MainWidget.cpp
 | |
|         ViewWidget.cpp
 | |
| )
 | |
| 
 | |
| serenity_app(ImageViewer ICON filetype-image)
 | |
| target_link_libraries(ImageViewer PRIVATE LibCore LibDesktop LibFileSystemAccessClient LibGUI LibGfx LibConfig LibImageDecoderClient LibMain)
 |