summaryrefslogtreecommitdiffstats
path: root/tests/LoadablePieces/CMakeLists.txt
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-10-15 11:35:44 +0200
committerGitHub <noreply@github.com>2020-10-15 11:35:44 +0200
commita145980795a4f37ebb9857bddb7427a184bbd6dd (patch)
treefb7ec4db18b92590b5036885c1dc39c3d42f83ca /tests/LoadablePieces/CMakeLists.txt
parentAdded missing return types and fixed param types (#4996) (diff)
downloadcuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar
cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.gz
cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.bz2
cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.lz
cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.xz
cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.zst
cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.zip
Diffstat (limited to '')
-rw-r--r--tests/LoadablePieces/CMakeLists.txt114
1 files changed, 57 insertions, 57 deletions
diff --git a/tests/LoadablePieces/CMakeLists.txt b/tests/LoadablePieces/CMakeLists.txt
index e3aa369c2..c09cf8091 100644
--- a/tests/LoadablePieces/CMakeLists.txt
+++ b/tests/LoadablePieces/CMakeLists.txt
@@ -1,64 +1,64 @@
-include_directories(${CMAKE_SOURCE_DIR}/src/)
-include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/lib/)
+include_directories(${PROJECT_SOURCE_DIR}/src/)
+include_directories(SYSTEM ${PROJECT_SOURCE_DIR}/lib/)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
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
- ${CMAKE_SOURCE_DIR}/src/StringCompression.cpp
- ${CMAKE_SOURCE_DIR}/src/StringUtils.cpp
-
- ${CMAKE_SOURCE_DIR}/src/Bindings/LuaState.cpp
-
- ${CMAKE_SOURCE_DIR}/src/Generating/ChunkDesc.cpp
- ${CMAKE_SOURCE_DIR}/src/Generating/PiecePool.cpp
- ${CMAKE_SOURCE_DIR}/src/Generating/Prefab.cpp
- ${CMAKE_SOURCE_DIR}/src/Generating/PrefabPiecePool.cpp
- ${CMAKE_SOURCE_DIR}/src/Generating/VerticalLimit.cpp
- ${CMAKE_SOURCE_DIR}/src/Generating/VerticalStrategy.cpp
-
- ${CMAKE_SOURCE_DIR}/src/Noise/Noise.cpp
-
- ${CMAKE_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp
- ${CMAKE_SOURCE_DIR}/src/OSSupport/Event.cpp
- ${CMAKE_SOURCE_DIR}/src/OSSupport/File.cpp
- ${CMAKE_SOURCE_DIR}/src/OSSupport/GZipFile.cpp
- ${CMAKE_SOURCE_DIR}/src/OSSupport/StackTrace.cpp
-
- ${CMAKE_SOURCE_DIR}/src/WorldStorage/FastNBT.cpp
- ${CMAKE_SOURCE_DIR}/src/WorldStorage/SchematicFileSerializer.cpp
+ ${PROJECT_SOURCE_DIR}/src/BiomeDef.cpp
+ ${PROJECT_SOURCE_DIR}/src/BlockArea.cpp
+ ${PROJECT_SOURCE_DIR}/src/Cuboid.cpp
+ ${PROJECT_SOURCE_DIR}/src/ChunkData.cpp
+ ${PROJECT_SOURCE_DIR}/src/StringCompression.cpp
+ ${PROJECT_SOURCE_DIR}/src/StringUtils.cpp
+
+ ${PROJECT_SOURCE_DIR}/src/Bindings/LuaState.cpp
+
+ ${PROJECT_SOURCE_DIR}/src/Generating/ChunkDesc.cpp
+ ${PROJECT_SOURCE_DIR}/src/Generating/PiecePool.cpp
+ ${PROJECT_SOURCE_DIR}/src/Generating/Prefab.cpp
+ ${PROJECT_SOURCE_DIR}/src/Generating/PrefabPiecePool.cpp
+ ${PROJECT_SOURCE_DIR}/src/Generating/VerticalLimit.cpp
+ ${PROJECT_SOURCE_DIR}/src/Generating/VerticalStrategy.cpp
+
+ ${PROJECT_SOURCE_DIR}/src/Noise/Noise.cpp
+
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/Event.cpp
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/File.cpp
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/GZipFile.cpp
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/StackTrace.cpp
+
+ ${PROJECT_SOURCE_DIR}/src/WorldStorage/FastNBT.cpp
+ ${PROJECT_SOURCE_DIR}/src/WorldStorage/SchematicFileSerializer.cpp
)
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
- ${CMAKE_SOURCE_DIR}/src/Globals.h
- ${CMAKE_SOURCE_DIR}/src/StringCompression.h
- ${CMAKE_SOURCE_DIR}/src/StringUtils.h
-
- ${CMAKE_SOURCE_DIR}/src/Bindings/LuaState.h
-
- ${CMAKE_SOURCE_DIR}/src/Generating/ChunkDesc.h
- ${CMAKE_SOURCE_DIR}/src/Generating/PiecePool.h
- ${CMAKE_SOURCE_DIR}/src/Generating/Prefab.h
- ${CMAKE_SOURCE_DIR}/src/Generating/PrefabPiecePool.h
- ${CMAKE_SOURCE_DIR}/src/Generating/VerticalLimit.h
- ${CMAKE_SOURCE_DIR}/src/Generating/VerticalStrategy.h
-
- ${CMAKE_SOURCE_DIR}/src/Noise/Noise.h
-
- ${CMAKE_SOURCE_DIR}/src/OSSupport/CriticalSection.h
- ${CMAKE_SOURCE_DIR}/src/OSSupport/Event.h
- ${CMAKE_SOURCE_DIR}/src/OSSupport/File.h
- ${CMAKE_SOURCE_DIR}/src/OSSupport/GZipFile.h
- ${CMAKE_SOURCE_DIR}/src/OSSupport/StackTrace.h
-
- ${CMAKE_SOURCE_DIR}/src/WorldStorage/FastNBT.h
- ${CMAKE_SOURCE_DIR}/src/WorldStorage/SchematicFileSerializer.h
+ ${PROJECT_SOURCE_DIR}/src/BiomeDef.h
+ ${PROJECT_SOURCE_DIR}/src/BlockArea.h
+ ${PROJECT_SOURCE_DIR}/src/Cuboid.h
+ ${PROJECT_SOURCE_DIR}/src/ChunkData.h
+ ${PROJECT_SOURCE_DIR}/src/Globals.h
+ ${PROJECT_SOURCE_DIR}/src/StringCompression.h
+ ${PROJECT_SOURCE_DIR}/src/StringUtils.h
+
+ ${PROJECT_SOURCE_DIR}/src/Bindings/LuaState.h
+
+ ${PROJECT_SOURCE_DIR}/src/Generating/ChunkDesc.h
+ ${PROJECT_SOURCE_DIR}/src/Generating/PiecePool.h
+ ${PROJECT_SOURCE_DIR}/src/Generating/Prefab.h
+ ${PROJECT_SOURCE_DIR}/src/Generating/PrefabPiecePool.h
+ ${PROJECT_SOURCE_DIR}/src/Generating/VerticalLimit.h
+ ${PROJECT_SOURCE_DIR}/src/Generating/VerticalStrategy.h
+
+ ${PROJECT_SOURCE_DIR}/src/Noise/Noise.h
+
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/CriticalSection.h
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/Event.h
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/File.h
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/GZipFile.h
+ ${PROJECT_SOURCE_DIR}/src/OSSupport/StackTrace.h
+
+ ${PROJECT_SOURCE_DIR}/src/WorldStorage/FastNBT.h
+ ${PROJECT_SOURCE_DIR}/src/WorldStorage/SchematicFileSerializer.h
)
set (SRCS
@@ -78,8 +78,8 @@ endif()
if (MSVC)
# Add the MSVC-specific LeakFinder sources:
- list (APPEND SHARED_SRCS ${CMAKE_SOURCE_DIR}/src/LeakFinder.cpp ${CMAKE_SOURCE_DIR}/src/StackWalker.cpp)
- list (APPEND SHARED_HDRS ${CMAKE_SOURCE_DIR}/src/LeakFinder.h ${CMAKE_SOURCE_DIR}/src/StackWalker.h)
+ list (APPEND SHARED_SRCS ${PROJECT_SOURCE_DIR}/src/LeakFinder.cpp ${PROJECT_SOURCE_DIR}/src/StackWalker.cpp)
+ list (APPEND SHARED_HDRS ${PROJECT_SOURCE_DIR}/src/LeakFinder.h ${PROJECT_SOURCE_DIR}/src/StackWalker.h)
endif()
source_group("Shared" FILES ${SHARED_SRCS} ${SHARED_HDRS})