diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-05-06 18:40:06 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-14 20:15:18 +0200 |
commit | 450a2a0f9ce2443bc06445ee018c9860d8cd5fc8 (patch) | |
tree | c124a612ef259b764855af5e33c39e0d09ad4df2 /Services/ProtocolServer | |
parent | 49727ffee424d8c0038ce18b91b0bf0ff33b1a4d (diff) | |
download | serenity-450a2a0f9ce2443bc06445ee018c9860d8cd5fc8.zip |
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
Diffstat (limited to 'Services/ProtocolServer')
-rw-r--r-- | Services/ProtocolServer/CMakeLists.txt | 18 | ||||
-rw-r--r-- | Services/ProtocolServer/Makefile | 25 |
2 files changed, 18 insertions, 25 deletions
diff --git a/Services/ProtocolServer/CMakeLists.txt b/Services/ProtocolServer/CMakeLists.txt new file mode 100644 index 0000000000..3806d06104 --- /dev/null +++ b/Services/ProtocolServer/CMakeLists.txt @@ -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) diff --git a/Services/ProtocolServer/Makefile b/Services/ProtocolServer/Makefile deleted file mode 100644 index fa39255c53..0000000000 --- a/Services/ProtocolServer/Makefile +++ /dev/null @@ -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 |