mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:47: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
10
Libraries/LibHTTP/CMakeLists.txt
Normal file
10
Libraries/LibHTTP/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
set(SOURCES
|
||||
HttpJob.cpp
|
||||
HttpRequest.cpp
|
||||
HttpResponse.cpp
|
||||
HttpsJob.cpp
|
||||
Job.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibHTTP http)
|
||||
target_link_libraries(LibHTTP LibCore LibTLS)
|
|
@ -1,19 +0,0 @@
|
|||
OBJS = HttpResponse.o \
|
||||
HttpRequest.o \
|
||||
HttpJob.o \
|
||||
HttpsJob.o \
|
||||
Job.o
|
||||
|
||||
LIBRARY = libhttp.a
|
||||
|
||||
LIB_DEPS = Core
|
||||
|
||||
POST_LIBRARY_BUILD = $(QUIET) $(MAKE) install
|
||||
|
||||
install:
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/sys/
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/
|
||||
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue