mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +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
18
Services/ProtocolServer/CMakeLists.txt
Normal file
18
Services/ProtocolServer/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
compile_ipc(ProtocolServer.ipc ProtocolServerEndpoint.h)
|
||||
compile_ipc(ProtocolClient.ipc ProtocolClientEndpoint.h)
|
||||
|
||||
set(SOURCES
|
||||
Download.cpp
|
||||
HttpDownload.cpp
|
||||
HttpProtocol.cpp
|
||||
HttpsDownload.cpp
|
||||
HttpsProtocol.cpp
|
||||
main.cpp
|
||||
Protocol.cpp
|
||||
PSClientConnection.cpp
|
||||
ProtocolServerEndpoint.h
|
||||
ProtocolClientEndpoint.h
|
||||
)
|
||||
|
||||
serenity_bin(ProtocolServer)
|
||||
target_link_libraries(ProtocolServer LibCore LibIPC LibHTTP)
|
|
@ -1,25 +0,0 @@
|
|||
OBJS = \
|
||||
PSClientConnection.o \
|
||||
Protocol.o \
|
||||
Download.o \
|
||||
HttpProtocol.o \
|
||||
HttpDownload.o \
|
||||
HttpsProtocol.o \
|
||||
HttpsDownload.o \
|
||||
main.o
|
||||
|
||||
PROGRAM = ProtocolServer
|
||||
|
||||
LIB_DEPS = HTTP TLS Crypto Core IPC
|
||||
|
||||
EXTRA_CLEAN = ProtocolServerEndpoint.h ProtocolClientEndpoint.h
|
||||
|
||||
*.cpp: ProtocolServerEndpoint.h ProtocolClientEndpoint.h
|
||||
|
||||
ProtocolServerEndpoint.h: ProtocolServer.ipc | IPCCOMPILER
|
||||
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
||||
|
||||
ProtocolClientEndpoint.h: ProtocolClient.ipc | IPCCOMPILER
|
||||
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue