From b91cfb8765e7dc6941bee464a8046930cd3adff0 Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Tue, 10 Dec 2013 18:41:43 +0000 Subject: started work on cmake --- src/HTTPServer/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/HTTPServer/CMakeLists.txt (limited to 'src/HTTPServer') diff --git a/src/HTTPServer/CMakeLists.txt b/src/HTTPServer/CMakeLists.txt new file mode 100644 index 000000000..b607fe3e5 --- /dev/null +++ b/src/HTTPServer/CMakeLists.txt @@ -0,0 +1,7 @@ + +cmake_minimum_required (VERSION 2.6) +project (MCServer) + +include_directories ("${PROJECT_SOURCE_DIR}/../") + +add_library(HTTPServer HTTPServer) -- cgit v1.2.3 From 6cdc990884b03395cfddf5afe699a76aa491e7e3 Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Tue, 10 Dec 2013 21:39:20 +0000 Subject: more cmake --- src/HTTPServer/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/HTTPServer') diff --git a/src/HTTPServer/CMakeLists.txt b/src/HTTPServer/CMakeLists.txt index b607fe3e5..b94aa5306 100644 --- a/src/HTTPServer/CMakeLists.txt +++ b/src/HTTPServer/CMakeLists.txt @@ -4,4 +4,4 @@ project (MCServer) include_directories ("${PROJECT_SOURCE_DIR}/../") -add_library(HTTPServer HTTPServer) +add_library(HTTPServer HTTPServer HTTPConnection HTTPFormParser HTTPMessage MultipartParser) -- cgit v1.2.3 From d2f29cb866f6ada222a1f7e896eeffe967f7df2f Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Thu, 19 Dec 2013 00:16:44 +0000 Subject: moved HTTPServer to globs --- src/HTTPServer/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/HTTPServer') diff --git a/src/HTTPServer/CMakeLists.txt b/src/HTTPServer/CMakeLists.txt index b94aa5306..3badc669f 100644 --- a/src/HTTPServer/CMakeLists.txt +++ b/src/HTTPServer/CMakeLists.txt @@ -4,4 +4,8 @@ project (MCServer) include_directories ("${PROJECT_SOURCE_DIR}/../") -add_library(HTTPServer HTTPServer HTTPConnection HTTPFormParser HTTPMessage MultipartParser) +file(GLOB SOURCE + "*.cpp" +) + +add_library(HTTPServer ${SOURCE}) -- cgit v1.2.3