aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRodney Dawes <rodney.dawes@canonical.com>2017-02-07 16:50:25 -0500
committerRodney Dawes <rodney.dawes@canonical.com>2017-02-07 16:50:25 -0500
commit47be95adcf9600979cbe0b3bb3269a6b9041efb2 (patch)
tree4ec70d28fa06f0435ecfd65d14d1badfb9b93ac9 /src
parent3e00c2f1483561613850820a674270c5d5154572 (diff)
downloadayatana-indicator-sound-47be95adcf9600979cbe0b3bb3269a6b9041efb2.tar.gz
ayatana-indicator-sound-47be95adcf9600979cbe0b3bb3269a6b9041efb2.tar.bz2
ayatana-indicator-sound-47be95adcf9600979cbe0b3bb3269a6b9041efb2.zip
Use coverage support from cmake-extras.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
-rw-r--r--src/gmenuharness/CMakeLists.txt7
2 files changed, 15 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0498903..0475ff3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -278,3 +278,11 @@ install(
)
add_subdirectory(gmenuharness)
+
+# coverage reporting
+set(COVERAGE_TARGETS
+ ${COVERAGE_TARGETS}
+ indicator-sound-service-lib
+ indicator-sound-service-bin
+ PARENT_SCOPE
+)
diff --git a/src/gmenuharness/CMakeLists.txt b/src/gmenuharness/CMakeLists.txt
index c9e613a..ca9d4dc 100644
--- a/src/gmenuharness/CMakeLists.txt
+++ b/src/gmenuharness/CMakeLists.txt
@@ -15,3 +15,10 @@ target_link_libraries(
gmenuharness-shared
${GLIB_LDFLAGS}
)
+
+# coverage reporting
+set(COVERAGE_TARGETS
+ ${COVERAGE_TARGETS}
+ gmenuharness-shared
+ PARENT_SCOPE
+)