mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +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
12
Libraries/LibProtocol/CMakeLists.txt
Normal file
12
Libraries/LibProtocol/CMakeLists.txt
Normal file
|
@ -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)
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue