~artmello/ubuntu-system-settings/ubuntu-system-settings-notifications_remove_list_check

« back to all changes in this revision

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

Implement extended Notifications panel using Gsettings to store notifications settings for each app

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)