diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-10 20:30:12 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-10 20:30:12 +0100 |
commit | d9ecf51f5bbc2e6ca70fcf7352a5626017d0ea41 (patch) | |
tree | 9fcd99c210acfc49d6e11b79ca8e27b7801cb2ed /src | |
parent | started work on cmake (diff) | |
download | cuberite-d9ecf51f5bbc2e6ca70fcf7352a5626017d0ea41.tar cuberite-d9ecf51f5bbc2e6ca70fcf7352a5626017d0ea41.tar.gz cuberite-d9ecf51f5bbc2e6ca70fcf7352a5626017d0ea41.tar.bz2 cuberite-d9ecf51f5bbc2e6ca70fcf7352a5626017d0ea41.tar.lz cuberite-d9ecf51f5bbc2e6ca70fcf7352a5626017d0ea41.tar.xz cuberite-d9ecf51f5bbc2e6ca70fcf7352a5626017d0ea41.tar.zst cuberite-d9ecf51f5bbc2e6ca70fcf7352a5626017d0ea41.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/CMakeLists.txt | 7 | ||||
-rw-r--r-- | src/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/Items/CMakeLists.txt | 7 |
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) |