1
0
cuberite-2a/src/Items/CMakeLists.txt
Alexander Harkness 2b9474f171
Remove switch statements from cItemFoodHandler (#4610)
* Remove switch statements from cItemFoodHandler

* Alpha-sort and add comment

* Relocate golden apple handler
2020-04-04 15:13:41 +00:00

70 lines
999 B
CMake

SET (SRCS
ItemHandler.cpp
)
SET (HDRS
ItemArmor.h
ItemAxe.h
ItemBed.h
ItemBigFlower.h
ItemBoat.h
ItemBottle.h
ItemBow.h
ItemBrewingStand.h
ItemBucket.h
ItemCake.h
ItemCauldron.h
ItemChest.h
ItemCloth.h
ItemComparator.h
ItemCookedFish.h
ItemDoor.h
ItemDye.h
ItemEmptyMap.h
ItemFishingRod.h
ItemFlowerPot.h
ItemFood.h
ItemFoodSeeds.h
ItemGoldenApple.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
ItemPoisonousPotato.h
ItemPotion.h
ItemPumpkin.h
ItemRawChicken.h
ItemRawFish.h
ItemRedstoneDust.h
ItemRedstoneRepeater.h
ItemRottenFlesh.h
ItemSapling.h
ItemSeeds.h
ItemShears.h
ItemShovel.h
ItemSign.h
ItemSlab.h
ItemSoup.h
ItemSpawnEgg.h
ItemSpiderEye.h
ItemString.h
ItemSugarcane.h
ItemSword.h
ItemThrowable.h
)
if(NOT MSVC)
add_library(Items ${SRCS} ${HDRS})
target_link_libraries(Items fmt::fmt)
endif()