diff options
author | tycho <work.tycho@gmail.com> | 2015-12-15 21:52:38 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-12-18 11:19:21 +0100 |
commit | 91d0abae4c8b0b4f6dfeb20a030848d08d369237 (patch) | |
tree | 98a8fa6488ca3872b0a9b3e711df8bf9d1c67bc9 /tests/CMakeLists.txt | |
parent | Merge pull request #2751 from cuberite/PieceStructuresFix (diff) | |
download | cuberite-91d0abae4c8b0b4f6dfeb20a030848d08d369237.tar cuberite-91d0abae4c8b0b4f6dfeb20a030848d08d369237.tar.gz cuberite-91d0abae4c8b0b4f6dfeb20a030848d08d369237.tar.bz2 cuberite-91d0abae4c8b0b4f6dfeb20a030848d08d369237.tar.lz cuberite-91d0abae4c8b0b4f6dfeb20a030848d08d369237.tar.xz cuberite-91d0abae4c8b0b4f6dfeb20a030848d08d369237.tar.zst cuberite-91d0abae4c8b0b4f6dfeb20a030848d08d369237.zip |
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4db898fdb..bdab4bc58 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -2,6 +2,10 @@ cmake_minimum_required (VERSION 2.6) enable_testing() +if (CMAKE_BUILD_TYPE STREQUAL "COVERAGE") + setup_target_for_coverage("${PROJECT_NAME}_coverage" "ctest" coverage) +endif() + include_directories(${CMAKE_CURRENT_SOURCE_DIR}) add_subdirectory(ChunkData) |