~ps-jenkins/indicator-power/ubuntu-vivid-proposed

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

Add mock battery support to make QA testing easier. Fixes: 1373511
Approved by: Antti Kaijanmäki, PS Jenkins bot, Ted Gould

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
    device-provider-mock.c
9
10
    device-provider-upower.c
10
11
    device-provider.c
11
12
    device.c
12
13
    notifier.c
 
14
    testing.c
13
15
    service.c)
14
16
 
15
17
# generated sources
19
21
                                 com.canonical.indicator.power
20
22
                                 Dbus
21
23
                                 ${CMAKE_SOURCE_DIR}/data/com.canonical.indicator.power.Battery.xml)
 
24
add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-testing
 
25
                                 com.canonical.indicator.power
 
26
                                 Dbus
 
27
                                 ${CMAKE_SOURCE_DIR}/data/com.canonical.indicator.power.Testing.xml)
22
28
# add the bin dir to our include path so the code can find the generated header files
23
29
include_directories(${CMAKE_CURRENT_BINARY_DIR})
24
30