mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27: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
32
Libraries/LibCore/CMakeLists.txt
Normal file
32
Libraries/LibCore/CMakeLists.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
set(SOURCES
|
||||
ArgsParser.cpp
|
||||
ConfigFile.cpp
|
||||
DateTime.cpp
|
||||
DirIterator.cpp
|
||||
ElapsedTimer.cpp
|
||||
Event.cpp
|
||||
EventLoop.cpp
|
||||
File.cpp
|
||||
Gzip.cpp
|
||||
IODevice.cpp
|
||||
LocalServer.cpp
|
||||
LocalSocket.cpp
|
||||
MimeData.cpp
|
||||
NetworkJob.cpp
|
||||
NetworkResponse.cpp
|
||||
Notifier.cpp
|
||||
Object.cpp
|
||||
ProcessStatisticsReader.cpp
|
||||
puff.c
|
||||
SocketAddress.cpp
|
||||
Socket.cpp
|
||||
StandardPaths.cpp
|
||||
TCPServer.cpp
|
||||
TCPSocket.cpp
|
||||
Timer.cpp
|
||||
UDPServer.cpp
|
||||
UDPSocket.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibCore core)
|
||||
target_link_libraries(LibCore LibC)
|
|
@ -1,37 +0,0 @@
|
|||
OBJS = \
|
||||
ArgsParser.o \
|
||||
ConfigFile.o \
|
||||
DateTime.o \
|
||||
DirIterator.o \
|
||||
ElapsedTimer.o \
|
||||
Event.o \
|
||||
EventLoop.o \
|
||||
File.o \
|
||||
Gzip.o \
|
||||
IODevice.o \
|
||||
LocalServer.o \
|
||||
LocalSocket.o \
|
||||
MimeData.o \
|
||||
NetworkJob.o \
|
||||
NetworkResponse.o \
|
||||
Notifier.o \
|
||||
Object.o \
|
||||
ProcessStatisticsReader.o \
|
||||
Socket.o \
|
||||
SocketAddress.o \
|
||||
StandardPaths.o \
|
||||
TCPServer.o \
|
||||
TCPSocket.o \
|
||||
Timer.o \
|
||||
UDPServer.o \
|
||||
UDPSocket.o \
|
||||
puff.o
|
||||
|
||||
LIBRARY = libcore.a
|
||||
|
||||
install:
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibCore/
|
||||
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibCore/
|
||||
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue