summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-18 08:59:33 +0200
committerarchshift <admin@archshift.com>2014-07-19 02:41:42 +0200
commit465743757a4847b860d932a20c3a7570aec6bec5 (patch)
treea2c788771336eb93118b5502c97bf7c2f12c10f5 /src
parentEntities/CMakeLists.txt: Replaced glob with list of files (diff)
downloadcuberite-465743757a4847b860d932a20c3a7570aec6bec5.tar
cuberite-465743757a4847b860d932a20c3a7570aec6bec5.tar.gz
cuberite-465743757a4847b860d932a20c3a7570aec6bec5.tar.bz2
cuberite-465743757a4847b860d932a20c3a7570aec6bec5.tar.lz
cuberite-465743757a4847b860d932a20c3a7570aec6bec5.tar.xz
cuberite-465743757a4847b860d932a20c3a7570aec6bec5.tar.zst
cuberite-465743757a4847b860d932a20c3a7570aec6bec5.zip
Diffstat (limited to '')
-rw-r--r--src/Items/CMakeLists.txt52
1 files changed, 47 insertions, 5 deletions
diff --git a/src/Items/CMakeLists.txt b/src/Items/CMakeLists.txt
index a6fe6ea70..0c15a6944 100644
--- a/src/Items/CMakeLists.txt
+++ b/src/Items/CMakeLists.txt
@@ -4,9 +4,51 @@ project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
-file(GLOB SOURCE
- "*.cpp"
- "*.h"
-)
+SET (SRCS
+ ItemHandler.cpp)
-add_library(Items ${SOURCE})
+SET (HDRS
+ ItemArmor.h
+ ItemBed.h
+ ItemBoat.h
+ ItemBow.h
+ ItemBrewingStand.h
+ ItemBucket.h
+ ItemCake.h
+ ItemCauldron.h
+ ItemCloth.h
+ ItemComparator.h
+ ItemDoor.h
+ ItemDye.h
+ ItemEmptyMap.h
+ ItemFishingRod.h
+ ItemFlowerPot.h
+ ItemFood.h
+ ItemHandler.h
+ ItemHoe.h
+ ItemItemFrame.h
+ ItemLeaves.h
+ ItemLighter.h
+ ItemLilypad.h
+ ItemMap.h
+ ItemMilk.h
+ ItemMinecart.h
+ ItemMobHead.h
+ ItemNetherWart.h
+ ItemPainting.h
+ ItemPickaxe.h
+ ItemPotion.h
+ ItemRedstoneDust.h
+ ItemRedstoneRepeater.h
+ ItemSapling.h
+ ItemSeeds.h
+ ItemShears.h
+ ItemShovel.h
+ ItemSign.h
+ ItemSpawnEgg.h
+ ItemString.h
+ ItemSugarcane.h
+ ItemSword.h
+ ItemThrowable.h)
+
+add_library(Items ${SRCS} ${HDRS})