mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	 af9be6e093
			
		
	
	
		af9be6e093
		
	
	
	
	
		
			
			LibTTF has a concrete dependency on LibGfx for things like Gfx::Bitmap, and LibGfx has a concrete dependency in the TTF::Font class in Gfx::FontDatabase. This circular dependency works fine for Serenity and Lagom Linux builds of the two libraries. It also works fine for static library builds on Lagom macOS builds. However, future changes will make Lagom use shared libraries, and circular library dependencies are not tolerated in macOS.
		
			
				
	
	
		
			44 lines
		
	
	
	
		
			860 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
	
		
			860 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     AffineTransform.cpp
 | |
|     Bitmap.cpp
 | |
|     BitmapFont.cpp
 | |
|     BMPLoader.cpp
 | |
|     BMPWriter.cpp
 | |
|     CharacterBitmap.cpp
 | |
|     ClassicStylePainter.cpp
 | |
|     ClassicWindowTheme.cpp
 | |
|     Color.cpp
 | |
|     DDSLoader.cpp
 | |
|     DisjointRectSet.cpp
 | |
|     Emoji.cpp
 | |
|     FontDatabase.cpp
 | |
|     GIFLoader.cpp
 | |
|     ICOLoader.cpp
 | |
|     ImageDecoder.cpp
 | |
|     JPGLoader.cpp
 | |
|     Painter.cpp
 | |
|     Palette.cpp
 | |
|     Path.cpp
 | |
|     PBMLoader.cpp
 | |
|     PGMLoader.cpp
 | |
|     PNGLoader.cpp
 | |
|     PNGWriter.cpp
 | |
|     PPMLoader.cpp
 | |
|     Point.cpp
 | |
|     Rect.cpp
 | |
|     ShareableBitmap.cpp
 | |
|     Size.cpp
 | |
|     StylePainter.cpp
 | |
|     SystemTheme.cpp
 | |
|     TextDirection.cpp
 | |
|     TextLayout.cpp
 | |
|     Triangle.cpp
 | |
|     TrueTypeFont/Font.cpp
 | |
|     TrueTypeFont/Glyf.cpp
 | |
|     TrueTypeFont/Cmap.cpp
 | |
|     Typeface.cpp
 | |
|     WindowTheme.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibGfx gfx)
 | |
| target_link_libraries(LibGfx LibM LibCompress LibCore LibTextCodec)
 |