1
0
cuberite-2a/src/UI/CMakeLists.txt

45 lines
902 B
CMake
Raw Normal View History

project (Cuberite)
2013-12-18 19:10:47 +00:00
include_directories ("${PROJECT_SOURCE_DIR}/../")
SET (SRCS
SlotArea.cpp
2015-03-10 18:40:53 +00:00
Window.cpp
AnvilWindow.cpp
BeaconWindow.cpp
2015-09-24 08:48:33 +00:00
BrewingstandWindow.cpp
2015-03-10 18:40:53 +00:00
ChestWindow.cpp
CraftingWindow.cpp
DropSpenserWindow.cpp
EnchantingWindow.cpp
EnderChestWindow.cpp
FurnaceWindow.cpp
HopperWindow.cpp
InventoryWindow.cpp)
2013-12-18 19:10:47 +00:00
SET (HDRS
SlotArea.h
Window.h
2014-12-13 14:06:55 +00:00
AnvilWindow.h
BeaconWindow.h
2015-09-24 08:48:33 +00:00
BrewingstandWindow.h
2014-12-13 14:06:55 +00:00
ChestWindow.h
CraftingWindow.h
DropSpenserWindow.h
EnchantingWindow.h
EnderChestWindow.h
FurnaceWindow.h
HopperWindow.h
InventoryWindow.h
MinecartWithChestWindow.h
WindowOwner.h)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
2016-08-24 19:45:03 +00:00
set_source_files_properties(SlotArea.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum ")
set_source_files_properties(Window.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum ")
endif()
if(NOT MSVC)
add_library(UI ${SRCS} ${HDRS})
endif()