summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-10 19:41:43 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-10 19:41:43 +0100
commitb91cfb8765e7dc6941bee464a8046930cd3adff0 (patch)
treeec02bbbb234458f98c761cceab35397b450ac1b5 /src
parentadded cmake ignores to gitignore (diff)
downloadcuberite-b91cfb8765e7dc6941bee464a8046930cd3adff0.tar
cuberite-b91cfb8765e7dc6941bee464a8046930cd3adff0.tar.gz
cuberite-b91cfb8765e7dc6941bee464a8046930cd3adff0.tar.bz2
cuberite-b91cfb8765e7dc6941bee464a8046930cd3adff0.tar.lz
cuberite-b91cfb8765e7dc6941bee464a8046930cd3adff0.tar.xz
cuberite-b91cfb8765e7dc6941bee464a8046930cd3adff0.tar.zst
cuberite-b91cfb8765e7dc6941bee464a8046930cd3adff0.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/CMakeLists.txt7
-rw-r--r--src/CMakeLists.txt15
-rw-r--r--src/HTTPServer/CMakeLists.txt7
-rw-r--r--src/OSSupport/CMakeLists.txt7
4 files changed, 36 insertions, 0 deletions
diff --git a/src/Bindings/CMakeLists.txt b/src/Bindings/CMakeLists.txt
new file mode 100644
index 000000000..c594cae9b
--- /dev/null
+++ b/src/Bindings/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+add_library(Bindings PluginManager)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 000000000..6d23d35f7
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories (SYSTEM "${PROJECT_SOURCE_DIR}/../lib/")
+add_subdirectory(OSSupport)
+add_subdirectory(HTTPServer)
+add_subdirectory(Bindings)
+
+set(SOURCE main Root MCLogger Authenticator StringUtils Server DeadlockDetect WebAdmin GroupManager CraftingRecipes FurnaceRecipe)
+set(SOURCE ${SOURCE} MonsterConfig)
+
+add_executable(MCServer ${SOURCE})
+
+target_link_libraries(MCServer OSSupport HTTPServer iniFile Bindings)
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)
diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt
new file mode 100644
index 000000000..af300ef7d
--- /dev/null
+++ b/src/OSSupport/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+add_library(OSSupport CriticalSection Timer Thread Sleep IsThread)