added blocks and blockentities
This commit is contained in:
parent
9515ece2bd
commit
3585f93fc9
11
src/BlockEntities/CMakeLists.txt
Normal file
11
src/BlockEntities/CMakeLists.txt
Normal 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})
|
@ -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})
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user