summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/CMakeLists.txt
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-19 14:29:22 +0200
committerMattes D <github@xoft.cz>2014-07-19 14:29:22 +0200
commit4293db5eae2f63ab7a3073476ad44b43297cc862 (patch)
tree55008d12b997281d9043f881e6d1766c7d7fafc7 /src/HTTPServer/CMakeLists.txt
parentMerge pull request #1223 from mc-server/fixes (diff)
parentFixed MSVC bindings generation. (diff)
downloadcuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar
cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.gz
cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.bz2
cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.lz
cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.xz
cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.zst
cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.zip
Diffstat (limited to 'src/HTTPServer/CMakeLists.txt')
-rw-r--r--src/HTTPServer/CMakeLists.txt27
1 files changed, 22 insertions, 5 deletions
diff --git a/src/HTTPServer/CMakeLists.txt b/src/HTTPServer/CMakeLists.txt
index dc894368d..b0efc810d 100644
--- a/src/HTTPServer/CMakeLists.txt
+++ b/src/HTTPServer/CMakeLists.txt
@@ -4,9 +4,26 @@ project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
-file(GLOB SOURCE
- "*.cpp"
- "*.h"
-)
+SET (SRCS
+ EnvelopeParser.cpp
+ 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)
+
+if(NOT MSVC)
+ add_library(HTTPServer ${SRCS} ${HDRS})
+endif()