HTTPServer/CMakeLists.txt: Replaced glob with list of files
This commit is contained in:
parent
de48688fdb
commit
5d966be741
@ -4,9 +4,24 @@ project (MCServer)
|
|||||||
|
|
||||||
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
||||||
|
|
||||||
file(GLOB SOURCE
|
SET (SRCS
|
||||||
"*.cpp"
|
EnvelopeParser.cpp
|
||||||
"*.h"
|
HTTPConnection.cpp
|
||||||
)
|
HTTPFormParser.cpp
|
||||||
|
HTTPMessage.cpp
|
||||||
|
HTTPServer.cpp
|
||||||
|
MultipartParser.cpp
|
||||||
|
NameValueParser.cpp
|
||||||
|
SslHTTPConnection.cpp)
|
||||||
|
|
||||||
add_library(HTTPServer ${SOURCE})
|
SET (HDRS
|
||||||
|
EnvelopeParser.h
|
||||||
|
HTTPConnection.h
|
||||||
|
HTTPFormParser.h
|
||||||
|
HTTPMessage.h
|
||||||
|
HTTPServer.h
|
||||||
|
MultipartParser.h
|
||||||
|
NameValueParser.h
|
||||||
|
SslHTTPConnection.h)
|
||||||
|
|
||||||
|
add_library(HTTPServer ${SRCS} ${HDRS})
|
||||||
|
Loading…
Reference in New Issue
Block a user