1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:25:06 +00:00
serenity/Userland/Libraries/LibGfx/CMakeLists.txt
Andrew Kaster af9be6e093 LibTTF/LibGfx: Remove circular dependency by merging LibTTF into LibGfx
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.
2021-07-29 21:46:25 +01:00

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)