2013-12-10 16:39:20 -05:00
|
|
|
|
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
project (MCServer)
|
|
|
|
|
|
|
|
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
|
|
|
|
2014-07-18 02:55:34 -04:00
|
|
|
SET (SRCS
|
|
|
|
AggressiveMonster.cpp
|
|
|
|
Bat.cpp
|
|
|
|
Blaze.cpp
|
|
|
|
CaveSpider.cpp
|
|
|
|
Chicken.cpp
|
|
|
|
Cow.cpp
|
|
|
|
Creeper.cpp
|
|
|
|
EnderDragon.cpp
|
|
|
|
Enderman.cpp
|
|
|
|
Ghast.cpp
|
|
|
|
Giant.cpp
|
2014-12-18 13:30:32 -05:00
|
|
|
Guardian.cpp
|
2014-07-18 02:55:34 -04:00
|
|
|
Horse.cpp
|
|
|
|
IronGolem.cpp
|
|
|
|
MagmaCube.cpp
|
|
|
|
Monster.cpp
|
|
|
|
Mooshroom.cpp
|
|
|
|
PassiveAggressiveMonster.cpp
|
|
|
|
PassiveMonster.cpp
|
|
|
|
Pig.cpp
|
2014-12-20 05:41:23 -05:00
|
|
|
Rabbit.cpp
|
2014-07-18 02:55:34 -04:00
|
|
|
Sheep.cpp
|
|
|
|
Skeleton.cpp
|
|
|
|
Slime.cpp
|
|
|
|
SnowGolem.cpp
|
|
|
|
Spider.cpp
|
|
|
|
Squid.cpp
|
|
|
|
Villager.cpp
|
|
|
|
Witch.cpp
|
|
|
|
Wither.cpp
|
|
|
|
Wolf.cpp
|
|
|
|
Zombie.cpp
|
|
|
|
ZombiePigman.cpp)
|
|
|
|
|
|
|
|
SET (HDRS
|
|
|
|
AggressiveMonster.h
|
|
|
|
Bat.h
|
|
|
|
Blaze.h
|
|
|
|
CaveSpider.h
|
|
|
|
Chicken.h
|
|
|
|
Cow.h
|
|
|
|
Creeper.h
|
|
|
|
EnderDragon.h
|
|
|
|
Enderman.h
|
|
|
|
Ghast.h
|
|
|
|
Giant.h
|
2014-12-18 13:30:32 -05:00
|
|
|
Guardian.h
|
2014-07-18 02:55:34 -04:00
|
|
|
Horse.h
|
|
|
|
IncludeAllMonsters.h
|
|
|
|
IronGolem.h
|
|
|
|
MagmaCube.h
|
|
|
|
Monster.h
|
2014-10-05 16:09:19 -04:00
|
|
|
MonsterTypes.h
|
2014-07-18 02:55:34 -04:00
|
|
|
Mooshroom.h
|
|
|
|
Ocelot.h
|
|
|
|
PassiveAggressiveMonster.h
|
|
|
|
PassiveMonster.h
|
|
|
|
Pig.h
|
2014-12-20 05:41:23 -05:00
|
|
|
Rabbit.h
|
2014-07-18 02:55:34 -04:00
|
|
|
Sheep.h
|
|
|
|
Silverfish.h
|
|
|
|
Skeleton.h
|
|
|
|
Slime.h
|
|
|
|
SnowGolem.h
|
|
|
|
Spider.h
|
|
|
|
Squid.h
|
|
|
|
Villager.h
|
|
|
|
Witch.h
|
|
|
|
Wither.h
|
|
|
|
Wolf.h
|
|
|
|
Zombie.h
|
|
|
|
ZombiePigman.h)
|
2013-12-10 18:07:30 -05:00
|
|
|
|
2014-07-18 16:26:43 -04:00
|
|
|
if(NOT MSVC)
|
|
|
|
add_library(Mobs ${SRCS} ${HDRS})
|
|
|
|
endif()
|