diff options
author | Mattes D <github@xoft.cz> | 2015-12-18 12:03:29 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-12-18 12:03:29 +0100 |
commit | eb87214f6dbb29fcd3434894b07345d8efd3b859 (patch) | |
tree | 98a8fa6488ca3872b0a9b3e711df8bf9d1c67bc9 /tests | |
parent | Merge pull request #2751 from cuberite/PieceStructuresFix (diff) | |
parent | Working coverage build (diff) | |
download | cuberite-eb87214f6dbb29fcd3434894b07345d8efd3b859.tar cuberite-eb87214f6dbb29fcd3434894b07345d8efd3b859.tar.gz cuberite-eb87214f6dbb29fcd3434894b07345d8efd3b859.tar.bz2 cuberite-eb87214f6dbb29fcd3434894b07345d8efd3b859.tar.lz cuberite-eb87214f6dbb29fcd3434894b07345d8efd3b859.tar.xz cuberite-eb87214f6dbb29fcd3434894b07345d8efd3b859.tar.zst cuberite-eb87214f6dbb29fcd3434894b07345d8efd3b859.zip |
Diffstat (limited to 'tests')
-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) |