1
0

added blocks and blockentities

This commit is contained in:
Tycho Bickerstaff 2013-12-19 00:06:24 +00:00
parent 9515ece2bd
commit 3585f93fc9
3 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,11 @@
cmake_minimum_required (VERSION 2.6)
project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
file(GLOB SOURCE
"*.cpp"
)
add_library(BlockEntities ${SOURCE})

View File

@ -4,4 +4,8 @@ project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../") include_directories ("${PROJECT_SOURCE_DIR}/../")
add_library(Blocks BlockHandler) file(GLOB SOURCE
"*.cpp"
)
add_library(Blocks ${SOURCE})

View File

@ -21,6 +21,7 @@ add_subdirectory(Mobs)
add_subdirectory(Entities) add_subdirectory(Entities)
add_subdirectory(Simulator) add_subdirectory(Simulator)
add_subdirectory(UI) add_subdirectory(UI)
add_subdirectory(BlockEntities)
file(GLOB SOURCE file(GLOB SOURCE
@ -33,4 +34,4 @@ add_executable(../MCServer/MCServer ${SOURCE})
target_link_libraries(../MCServer/MCServer OSSupport HTTPServer iniFile Bindings Items Blocks) target_link_libraries(../MCServer/MCServer OSSupport HTTPServer iniFile Bindings Items Blocks)
target_link_libraries(../MCServer/MCServer Protocol Generating WorldStorage jsoncpp cryptopp) target_link_libraries(../MCServer/MCServer Protocol Generating WorldStorage jsoncpp cryptopp)
target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib lua) target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib lua BlockEntities)