diff options
author | Aleix Pol <aleixpol@kde.org> | 2014-09-11 10:48:06 +0200 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2014-09-11 11:03:55 +0200 |
commit | 6ab50fa9e27c4710beb2641fd510dfce08cc2719 (patch) | |
tree | 8c959d5bd290f6b21f27793a09d2f080cb86c7c0 /kde-modules | |
parent | a4ae63d26665c814a452d4949a067a6bab45152e (diff) | |
download | extra-cmake-modules-6ab50fa9e27c4710beb2641fd510dfce08cc2719.tar.gz extra-cmake-modules-6ab50fa9e27c4710beb2641fd510dfce08cc2719.tar.bz2 |
Make code coverage possible in any KDE project
Introduces a BUILD_COVERAGE option from a ECMCoverageOption file so that
projects can easily enable code coverage in their applications.
Furthermore, KDECompilerSettings does include that by default, so all
proper KDE projects have the option by default.
REVIEW: 120118
Diffstat (limited to 'kde-modules')
-rw-r--r-- | kde-modules/KDECompilerSettings.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake index 728bb413..fbb464d1 100644 --- a/kde-modules/KDECompilerSettings.cmake +++ b/kde-modules/KDECompilerSettings.cmake @@ -420,4 +420,6 @@ if (MINGW AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--export-all-symbols") endif() -include ( ECMEnableSanitizers ) +include(ECMEnableSanitizers) +include(ECMCoverageOption) + |