summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Blocks/CMakeLists.txt7
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/Items/CMakeLists.txt7
3 files changed, 18 insertions, 2 deletions
diff --git a/src/Blocks/CMakeLists.txt b/src/Blocks/CMakeLists.txt
new file mode 100644
index 000000000..6fededb65
--- /dev/null
+++ b/src/Blocks/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+add_library(Blocks BlockHandler)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6d23d35f7..ada9e1a64 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -6,10 +6,12 @@ include_directories (SYSTEM "${PROJECT_SOURCE_DIR}/../lib/")
add_subdirectory(OSSupport)
add_subdirectory(HTTPServer)
add_subdirectory(Bindings)
+add_subdirectory(Items)
+add_subdirectory(Blocks)
set(SOURCE main Root MCLogger Authenticator StringUtils Server DeadlockDetect WebAdmin GroupManager CraftingRecipes FurnaceRecipe)
set(SOURCE ${SOURCE} MonsterConfig)
-add_executable(MCServer ${SOURCE})
+add_executable(../MCServer/MCServer ${SOURCE})
-target_link_libraries(MCServer OSSupport HTTPServer iniFile Bindings)
+target_link_libraries(MCServer OSSupport HTTPServer iniFile Bindings Items)
diff --git a/src/Items/CMakeLists.txt b/src/Items/CMakeLists.txt
new file mode 100644
index 000000000..44a9f594f
--- /dev/null
+++ b/src/Items/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+add_library(Items ItemHandler)