mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:52:44 +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.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			380 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			380 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     ModelGallery
 | |
|     TARGETS ModelGallery
 | |
| )
 | |
| 
 | |
| compile_gml(./BasicModelTab.gml BasicModelTabGML.h basic_model_tab_gml)
 | |
| 
 | |
| set(SOURCES
 | |
|     main.cpp
 | |
|     GalleryWidget.cpp
 | |
|     BasicModel.cpp
 | |
| )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     BasicModelTabGML.h
 | |
| )
 | |
| 
 | |
| serenity_app(ModelGallery ICON app-model-gallery)
 | |
| 
 | |
| target_link_libraries(ModelGallery PRIVATE LibCore LibGUI LibGfx LibMain)
 |