summaryrefslogtreecommitdiffstats
path: root/tests/ChunkBuffer/CMakeLists.txt
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-05-03 15:02:51 +0200
committerTycho <work.tycho+git@gmail.com>2014-05-03 15:02:51 +0200
commit616ddf5ca50450279198775a598796bb367cf8ce (patch)
tree836b6b8774216e0735aeb63226443e976483e0da /tests/ChunkBuffer/CMakeLists.txt
parentFixed polarssl programs included (diff)
downloadcuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.gz
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.bz2
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.lz
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.xz
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.zst
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.zip
Diffstat (limited to 'tests/ChunkBuffer/CMakeLists.txt')
-rw-r--r--tests/ChunkBuffer/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ChunkBuffer/CMakeLists.txt b/tests/ChunkBuffer/CMakeLists.txt
index 33722f785..08d01d1a0 100644
--- a/tests/ChunkBuffer/CMakeLists.txt
+++ b/tests/ChunkBuffer/CMakeLists.txt
@@ -2,9 +2,15 @@ cmake_minimum_required (VERSION 2.6)
enable_testing()
+include_directories(${CMAKE_SOURCE_DIR}/src/)
+
add_library(ChunkBuffer ${CMAKE_SOURCE_DIR}/src/ChunkBuffer.cpp)
add_executable(creatable-exe creatable.cpp)
target_link_libraries(creatable-exe ChunkBuffer)
add_test(NAME creatable-test COMMAND creatable-exe)
+
+add_executable(coordinates-exe Coordinates.cpp)
+target_link_libraries(coordinates-exe ChunkBuffer)
+add_test(NAME coordinates-test COMMAND coordinates-exe)