~ci-train-bot/ubuntu-system-settings/ubuntu-system-settings-ubuntu-zesty-2679

« back to all changes in this revision

Viewing changes to tests/mocks/Ubuntu/SystemSettings/Notifications/CMakeLists.txt

  • Committer: Ken VanDine
  • Date: 2017-03-15 19:17:14 UTC
  • mto: This revision was merged to the branch mainline in revision 1766.
  • Revision ID: ken.vandine@canonical.com-20170315191714-1appjzosayvmf246
removed more click/updates stuff

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include_directories(
2
 
    ${CMAKE_CURRENT_BINARY_DIR}
3
 
    ${CMAKE_SOURCE_DIR}/plugins/notifications/
4
 
    ${GIO_INCLUDE_DIRS}
5
 
    ${QTGSETTINGS_INCLUDE_DIRS}
6
 
)
7
 
 
8
 
set(MOCK_NOTIFICATIONS_SRCS
9
 
    ${CMAKE_SOURCE_DIR}/plugins/notifications/click_applications_model.cpp
10
 
    ${CMAKE_SOURCE_DIR}/plugins/notifications/click_applications_notify_model.cpp
11
 
    MockClickApplicationsModel.cpp
12
 
    MockClickApplicationsNotifyModel.cpp
13
 
    plugin.cpp
14
 
)
15
 
 
16
 
add_library(MockUbuntuNotificationsPanel MODULE ${MOCK_NOTIFICATIONS_SRCS})
17
 
 
18
 
target_link_libraries(MockUbuntuNotificationsPanel ${GIO_LDFLAGS} ${QTGSETTINGS_LDFLAGS})
19
 
qt5_use_modules(MockUbuntuNotificationsPanel Qml Quick Core)
20
 
 
21
 
add_uss_mock(Ubuntu.SystemSettings.Notifications 1.0 Ubuntu/SystemSettings/Notifications
22
 
             TARGETS MockUbuntuNotificationsPanel)