mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +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
11
Libraries/LibTLS/CMakeLists.txt
Normal file
11
Libraries/LibTLS/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
set(SOURCES
|
||||
ClientHandshake.cpp
|
||||
Exchange.cpp
|
||||
Handshake.cpp
|
||||
Record.cpp
|
||||
Socket.cpp
|
||||
TLSv12.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibTLS tls)
|
||||
target_link_libraries(LibTLS LibCore LibCrypto)
|
|
@ -1,21 +0,0 @@
|
|||
LIBTLS_OBJS = TLSv12.o \
|
||||
ClientHandshake.o \
|
||||
Exchange.o \
|
||||
Handshake.o \
|
||||
Record.o \
|
||||
Socket.o
|
||||
|
||||
OBJS = $(LIBTLS_OBJS)
|
||||
|
||||
LIBRARY = libtls.a
|
||||
|
||||
install:
|
||||
for dir in .; do \
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibTLS/$$dir; \
|
||||
cp $$dir/*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibTLS/$$dir/; \
|
||||
done
|
||||
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
|
||||
include ../../Makefile.common
|
||||
|
||||
include ../../Makefile.subdir
|
Loading…
Add table
Add a link
Reference in a new issue