~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-07-18 02:02:22 UTC
  • mfrom: (23.1.21 10-alarm-settings)
  • Revision ID: krnekhelesh@gmail.com-20140718020222-0q8gqqz3hj2rv8y0
Adds support for Alarm Settings like the alarm ringtone duration, alarm sound volume.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
find_package(Qt5Core)
9
9
find_package(Qt5Qml)
10
10
find_package(Qt5Quick)
 
11
find_package(Qt5DBus)
11
12
#find_package(ubuntu-sdk-libs)
12
13
 
13
14
#automatically create moc files
57
58
 
58
59
add_custom_target("autopilot" chmod +x ${CMAKE_SOURCE_DIR}/app/tests/autopilot/run
59
60
                    COMMAND ${CMAKE_SOURCE_DIR}/app/tests/autopilot/run
60
 
                    DEPENDS ubuntu-clock-appbackend ubuntu-clock-appbackend-qmldir
 
61
                    DEPENDS timezone timezone-qmldir alarmsettings alarmsettings-qmldir
61
62
                    WORKING_DIRECTORY ./app)
62
63
 
63
64
enable_testing()
67
68
)
68
69
 
69
70
add_custom_target("run" /usr/bin/qmlscene -I ${CMAKE_BINARY_DIR}/backend  ${CMAKE_SOURCE_DIR}/app/ubuntu-clock-app.qml
70
 
                    DEPENDS ubuntu-clock-appbackend ubuntu-clock-appbackend-qmldir
 
71
                    DEPENDS timezone timezone-qmldir alarmsettings alarmsettings-qmldir
71
72
                    WORKING_DIRECTORY ./app)