mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:47:35 +00:00
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
This commit is contained in:
parent
49727ffee4
commit
450a2a0f9c
236 changed files with 1774 additions and 2337 deletions
26
Libraries/LibGfx/CMakeLists.txt
Normal file
26
Libraries/LibGfx/CMakeLists.txt
Normal file
|
@ -0,0 +1,26 @@
|
|||
set(SOURCES
|
||||
AffineTransform.cpp
|
||||
Bitmap.cpp
|
||||
CharacterBitmap.cpp
|
||||
Color.cpp
|
||||
DisjointRectSet.cpp
|
||||
Emoji.cpp
|
||||
FloatRect.cpp
|
||||
Font.cpp
|
||||
GIFLoader.cpp
|
||||
ImageDecoder.cpp
|
||||
Painter.cpp
|
||||
Palette.cpp
|
||||
Path.cpp
|
||||
PNGLoader.cpp
|
||||
Point.cpp
|
||||
Rect.cpp
|
||||
ShareableBitmap.cpp
|
||||
Size.cpp
|
||||
StylePainter.cpp
|
||||
SystemTheme.cpp
|
||||
Triangle.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibGfx gfx)
|
||||
target_link_libraries(LibGfx LibM LibCore)
|
|
@ -1,31 +0,0 @@
|
|||
OBJS = \
|
||||
AffineTransform.o \
|
||||
Bitmap.o \
|
||||
CharacterBitmap.o \
|
||||
Color.o \
|
||||
DisjointRectSet.o \
|
||||
Emoji.o \
|
||||
Font.o \
|
||||
FloatRect.o \
|
||||
GIFLoader.o \
|
||||
ImageDecoder.o \
|
||||
PNGLoader.o \
|
||||
Painter.o \
|
||||
Palette.o \
|
||||
Path.o \
|
||||
Point.o \
|
||||
Rect.o \
|
||||
ShareableBitmap.o \
|
||||
Size.o \
|
||||
StylePainter.o \
|
||||
SystemTheme.o \
|
||||
Triangle.o
|
||||
|
||||
LIBRARY = libgfx.a
|
||||
|
||||
install:
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibGfx/
|
||||
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibGfx/
|
||||
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue