summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Behaviors/CMakeLists.txt')
-rw-r--r--src/Mobs/Behaviors/CMakeLists.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/Mobs/Behaviors/CMakeLists.txt b/src/Mobs/Behaviors/CMakeLists.txt
new file mode 100644
index 000000000..3e0a063d1
--- /dev/null
+++ b/src/Mobs/Behaviors/CMakeLists.txt
@@ -0,0 +1,33 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (Cuberite)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+SET (SRCS
+ BehaviorAggressive.cpp
+ BehaviorChaser.cpp
+ BehaviorBreeder.cpp
+ BehaviorDayLightBurner.cpp
+ BehaviorCoward.cpp
+ BehaviorItemDropper.cpp
+ BehaviorItemFollower.cpp
+ BehaviorStriker.cpp
+ BehaviorWanderer.cpp
+)
+
+SET (HDRS
+ BehaviorAggressive.h
+ BehaviorChaser.h
+ BehaviorBreeder.h
+ BehaviorDayLightBurner.h
+ BehaviorCoward.h
+ BehaviorItemDropper.h
+ BehaviorItemFollower.h
+ BehaviorStriker.h
+ BehaviorWanderer.h
+)
+
+if(NOT MSVC)
+ add_library(Behaviors ${SRCS} ${HDRS})
+endif()