1
0
Fork 0

Items/CMakeLists.txt: Replaced glob with list of files

This commit is contained in:
archshift 2014-07-17 23:59:33 -07:00
parent 1d8e3e2bb8
commit 465743757a
1 changed files with 47 additions and 5 deletions

View File

@ -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})