summaryrefslogtreecommitdiffstats
path: root/tests/LuaThreadStress/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/LuaThreadStress/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 'tests/LuaThreadStress/CMakeLists.txt')
-rw-r--r--tests/LuaThreadStress/CMakeLists.txt114
1 files changed, 57 insertions, 57 deletions
diff --git a/tests/LuaThreadStress/CMakeLists.txt b/tests/LuaThreadStress/CMakeLists.txt
index 34e6836ec..32ff4b32e 100644
--- a/tests/LuaThreadStress/CMakeLists.txt
+++ b/tests/LuaThreadStress/CMakeLists.txt
@@ -1,67 +1,67 @@
find_package(Threads REQUIRED)
-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/OSSupport/WinStackWalker.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/OSSupport/WinStackWalker.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/OSSupport/WinStackWalker.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/OSSupport/WinStackWalker.h
+
+ ${PROJECT_SOURCE_DIR}/src/WorldStorage/FastNBT.h
+ ${PROJECT_SOURCE_DIR}/src/WorldStorage/SchematicFileSerializer.h
)
set (SRCS