307e7aaff5
* Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type
40 lines
659 B
CMake
40 lines
659 B
CMake
project (Cuberite)
|
|
|
|
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
|
|
|
SET (SRCS
|
|
SlotArea.cpp
|
|
Window.cpp
|
|
AnvilWindow.cpp
|
|
BeaconWindow.cpp
|
|
BrewingstandWindow.cpp
|
|
ChestWindow.cpp
|
|
CraftingWindow.cpp
|
|
DropSpenserWindow.cpp
|
|
EnchantingWindow.cpp
|
|
EnderChestWindow.cpp
|
|
FurnaceWindow.cpp
|
|
HopperWindow.cpp
|
|
InventoryWindow.cpp)
|
|
|
|
SET (HDRS
|
|
SlotArea.h
|
|
Window.h
|
|
AnvilWindow.h
|
|
BeaconWindow.h
|
|
BrewingstandWindow.h
|
|
ChestWindow.h
|
|
CraftingWindow.h
|
|
DropSpenserWindow.h
|
|
EnchantingWindow.h
|
|
EnderChestWindow.h
|
|
FurnaceWindow.h
|
|
HopperWindow.h
|
|
InventoryWindow.h
|
|
MinecartWithChestWindow.h
|
|
WindowOwner.h)
|
|
|
|
if(NOT MSVC)
|
|
add_library(UI ${SRCS} ${HDRS})
|
|
endif()
|