@@ -1,5 +1,6 @@
|
||||
target_sources(
|
||||
${CMAKE_PROJECT_NAME} PRIVATE
|
||||
|
||||
SET (SRCS
|
||||
EnvelopeParser.cpp
|
||||
HTTPFormParser.cpp
|
||||
HTTPMessage.cpp
|
||||
@@ -12,9 +13,7 @@ SET (SRCS
|
||||
TransferEncodingParser.cpp
|
||||
UrlClient.cpp
|
||||
UrlParser.cpp
|
||||
)
|
||||
|
||||
SET (HDRS
|
||||
EnvelopeParser.h
|
||||
HTTPFormParser.h
|
||||
HTTPMessage.h
|
||||
@@ -28,8 +27,3 @@ SET (HDRS
|
||||
UrlClient.h
|
||||
UrlParser.h
|
||||
)
|
||||
|
||||
if(NOT MSVC)
|
||||
add_library(HTTPServer ${SRCS} ${HDRS})
|
||||
target_link_libraries(HTTPServer fmt::fmt)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user