summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-06-21 13:08:34 +0200
committerworktycho <work.tycho@gmail.com>2015-06-21 13:08:34 +0200
commit0096327c4ff8f69755a0ca438fcd08171e68c5d7 (patch)
tree7400062806953c5fc1d8abd3ab9eaa74800d4872 /tests
parentMerge pull request #2255 from cuberite/LoadablePieces (diff)
parentAdded basic support for loading village prefabs from files. (diff)
downloadcuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar
cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.gz
cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.bz2
cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.lz
cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.xz
cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.tar.zst
cuberite-0096327c4ff8f69755a0ca438fcd08171e68c5d7.zip
Diffstat (limited to 'tests')
-rw-r--r--tests/LoadablePieces/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/LoadablePieces/CMakeLists.txt b/tests/LoadablePieces/CMakeLists.txt
index 74429ea9d..4b3c0ab13 100644
--- a/tests/LoadablePieces/CMakeLists.txt
+++ b/tests/LoadablePieces/CMakeLists.txt
@@ -9,6 +9,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_definitions(-DTEST_GLOBALS=1)
set (SHARED_SRCS
+ ${CMAKE_SOURCE_DIR}/src/BiomeDef.cpp
${CMAKE_SOURCE_DIR}/src/BlockArea.cpp
${CMAKE_SOURCE_DIR}/src/Cuboid.cpp
${CMAKE_SOURCE_DIR}/src/ChunkData.cpp
@@ -35,6 +36,7 @@ set (SHARED_SRCS
)
set (SHARED_HDRS
+ ${CMAKE_SOURCE_DIR}/src/BiomeDef.h
${CMAKE_SOURCE_DIR}/src/BlockArea.h
${CMAKE_SOURCE_DIR}/src/Cuboid.h
${CMAKE_SOURCE_DIR}/src/ChunkData.h
@@ -73,6 +75,7 @@ set (SRCS
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_flags_cxx("-Wno-error=conversion -Wno-error=old-style-cast")
add_flags_cxx("-Wno-error=global-constructors")
+ add_flags_cxx("-Wno-error=switch-enum")
endif()