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 /Libraries/LibProtocol | |
parent | 49727ffee424d8c0038ce18b91b0bf0ff33b1a4d (diff) | |
download | serenity-450a2a0f9ce2443bc06445ee018c9860d8cd5fc8.zip |
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
Diffstat (limited to 'Libraries/LibProtocol')
-rw-r--r-- | Libraries/LibProtocol/CMakeLists.txt | 12 | ||||
-rw-r--r-- | Libraries/LibProtocol/Makefile | 11 |
2 files changed, 12 insertions, 11 deletions
diff --git a/Libraries/LibProtocol/CMakeLists.txt b/Libraries/LibProtocol/CMakeLists.txt new file mode 100644 index 0000000000..7c2e59d45d --- /dev/null +++ b/Libraries/LibProtocol/CMakeLists.txt @@ -0,0 +1,12 @@ +set(SOURCES + Client.cpp + Download.cpp +) + +set(GENERATED_SOURCES + ../../Services/ProtocolServer/ProtocolClientEndpoint.h + ../../Services/ProtocolServer/ProtocolServerEndpoint.h +) + +serenity_lib(LibProtocol protocol) +target_link_libraries(LibProtocol LibIPC) diff --git a/Libraries/LibProtocol/Makefile b/Libraries/LibProtocol/Makefile deleted file mode 100644 index 00b3605fb6..0000000000 --- a/Libraries/LibProtocol/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -OBJS = \ - Download.o \ - Client.o - -LIBRARY = libprotocol.a - -Download.cpp Client.cpp: ../../Services/ProtocolServer/ProtocolClientEndpoint.h ../../Services/ProtocolServer/ProtocolServerEndpoint.h -../../Services/ProtocolServer/ProtocolClientEndpoint.h ../../Services/ProtocolServer/ProtocolServerEndpoint.h: - @flock $(dir $(@)) $(MAKE) -C $(dir $(@)) - -include ../../Makefile.common |