generated from seqan/app-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
107 additions
and
74 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# ----------------------------------------------------------------------------------------------------- | ||
# Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin | ||
# Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik | ||
# This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License | ||
# shipped with this file and also available at: https://github.com/seqan/raptor/blob/master/LICENSE.md | ||
# ----------------------------------------------------------------------------------------------------- | ||
|
||
cmake_minimum_required (VERSION 3.10) | ||
|
||
# Add a custom build type: Coverage | ||
|
||
set (CMAKE_CXX_FLAGS_COVERAGE | ||
"${CMAKE_CXX_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage" CACHE STRING | ||
"Flags used by the C++ compiler during coverage builds." | ||
FORCE) | ||
set (CMAKE_C_FLAGS_COVERAGE | ||
"${CMAKE_C_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage" CACHE STRING | ||
"Flags used by the C compiler during coverage builds." | ||
FORCE) | ||
set (CMAKE_EXE_LINKER_FLAGS_COVERAGE | ||
"${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wl,-lgcov" CACHE STRING | ||
"Flags used for linking binaries during coverage builds." | ||
FORCE) | ||
set (CMAKE_SHARED_LINKER_FLAGS_COVERAGE | ||
"${CMAKE_SHARED_LINKER_FLAGS_DEBUG} -Wl,-lgcov" CACHE STRING | ||
"Flags used by the shared libraries linker during coverage builds." | ||
FORCE) | ||
|
||
mark_as_advanced ( | ||
CMAKE_CXX_FLAGS_COVERAGE | ||
CMAKE_C_FLAGS_COVERAGE | ||
CMAKE_EXE_LINKER_FLAGS_COVERAGE | ||
CMAKE_SHARED_LINKER_FLAGS_COVERAGE) |