1
0

Upgrade to C++17 [CMake] (#4717)

* Make our CMake slightly less insane
This commit is contained in:
Tiger Wang
2020-05-16 20:59:10 +01:00
committed by GitHub
parent 21ef9e3819
commit 9e8598fb1c
55 changed files with 457 additions and 762 deletions

View File

@@ -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()