2013-12-18 19:06:24 -05:00
|
|
|
|
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
project (MCServer)
|
|
|
|
|
|
|
|
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
|
|
|
|
2014-07-18 03:14:15 -04:00
|
|
|
SET (SRCS
|
|
|
|
BeaconEntity.cpp
|
|
|
|
BlockEntity.cpp
|
|
|
|
ChestEntity.cpp
|
|
|
|
CommandBlockEntity.cpp
|
|
|
|
DispenserEntity.cpp
|
|
|
|
DropSpenserEntity.cpp
|
|
|
|
DropperEntity.cpp
|
|
|
|
EnderChestEntity.cpp
|
|
|
|
FlowerPotEntity.cpp
|
|
|
|
FurnaceEntity.cpp
|
|
|
|
HopperEntity.cpp
|
|
|
|
JukeboxEntity.cpp
|
|
|
|
MobHeadEntity.cpp
|
|
|
|
NoteEntity.cpp
|
|
|
|
SignEntity.cpp)
|
2013-12-18 19:06:24 -05:00
|
|
|
|
2014-07-18 03:14:15 -04:00
|
|
|
SET (HDRS
|
|
|
|
BeaconEntity.h
|
|
|
|
BlockEntity.h
|
|
|
|
BlockEntityWithItems.h
|
|
|
|
ChestEntity.h
|
|
|
|
CommandBlockEntity.h
|
|
|
|
DispenserEntity.h
|
|
|
|
DropSpenserEntity.h
|
|
|
|
DropperEntity.h
|
|
|
|
EnderChestEntity.h
|
|
|
|
FlowerPotEntity.h
|
|
|
|
FurnaceEntity.h
|
|
|
|
HopperEntity.h
|
|
|
|
JukeboxEntity.h
|
|
|
|
MobHeadEntity.h
|
|
|
|
NoteEntity.h
|
|
|
|
SignEntity.h)
|
|
|
|
|
2014-07-18 16:26:43 -04:00
|
|
|
if(NOT MSVC)
|
|
|
|
add_library(BlockEntities ${SRCS} ${HDRS})
|
|
|
|
endif()
|