summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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)