summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/CMakeLists.txt
blob: 75f0490a068a2dc74d9505b77387b2ac55913584 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

cmake_minimum_required (VERSION 2.6)
project (Cuberite)

include_directories ("${PROJECT_SOURCE_DIR}/../")

SET (SRCS
    Behavior.cpp
    BehaviorAggressive.cpp
    BehaviorAttacker.cpp
    BehaviorBrave.cpp
    BehaviorBreeder.cpp
    BehaviorDoNothing.cpp
    BehaviorDayLightBurner.cpp
    BehaviorCoward.cpp
    BehaviorItemDropper.cpp
    BehaviorItemFollower.cpp
    BehaviorItemReplacer.cpp
    BehaviorAttackerMelee.cpp
    BehaviorAttackerRanged.cpp
    BehaviorAttackerSuicideBomber.cpp
    BehaviorWanderer.cpp
    BehaviorPet.cpp
    BehaviorPetTamableWithItem.cpp
    BehaviorPetTamableWithItemShy.cpp
)

SET (HDRS
    Behavior.h
    BehaviorAggressive.h
    BehaviorAttacker.h
    BehaviorBrave.h
    BehaviorBreeder.h
    BehaviorDoNothing.h
    BehaviorDayLightBurner.h
    BehaviorCoward.h
    BehaviorItemDropper.h
    BehaviorItemFollower.h
    BehaviorItemReplacer.h
    BehaviorAttackerMelee.h
    BehaviorAttackerRanged.h
    BehaviorAttackerSuicideBomber.h
    BehaviorWanderer.h
    BehaviorPet.h
    BehaviorPetTamableWithItem.h
    BehaviorPetTamableWithItemShy.h
)

if(NOT MSVC)
	add_library(Behaviors ${SRCS} ${HDRS})
endif()