summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
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)