~indicator-applet-developers/indicator-power/trunk.16.05

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

  • Committer: CI Train Bot
  • Author(s): Charles Kerr, charles kerr
  • Date: 2016-01-05 14:37:48 UTC
  • mfrom: (290.1.24 lp-1470767-low-battery-sound)
  • Revision ID: ci-train-bot@canonical.com-20160105143748-8vkmb6yhgz603fus
Play a 'low battery' sound when the low battery notification is shown.
 Fixes: #1470767
Approved by: Ted Gould, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
# handwritten sources
7
7
set(SERVICE_MANUAL_SOURCES
8
8
    brightness.c
 
9
    datafiles.c
9
10
    device-provider-mock.c
10
11
    device-provider-upower.c
11
12
    device-provider.c
12
13
    device.c
13
14
    notifier.c
14
15
    testing.c
15
 
    service.c)
 
16
    service.c
 
17
    sound-player.c
 
18
    sound-player-gst.c)
16
19
 
17
20
# generated sources
18
21
include(GdbusCodegen)
29
32
                                 com.canonical.indicator.power
30
33
                                 Dbus
31
34
                                 ${CMAKE_SOURCE_DIR}/data/com.canonical.indicator.power.Testing.xml)
 
35
add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-accounts-sound
 
36
                                 com.ubuntu.touch
 
37
                                 Dbus
 
38
                                 /usr/share/accountsservice/interfaces/com.ubuntu.touch.AccountsService.Sound.xml)
 
39
 
32
40
# add the bin dir to our include path so the code can find the generated header files
33
41
include_directories(${CMAKE_CURRENT_BINARY_DIR})
34
42