aboutsummaryrefslogtreecommitdiff
path: root/tests/service-mocks/accounts-mock/CMakeLists.txt
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-12-23 12:08:16 +0100
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-12-23 12:08:16 +0100
commitd8d60bc83824359c6e22b9114fc0a6bde45b8eca (patch)
tree9103330b940fa63dedb8f0919c1431d266df0172 /tests/service-mocks/accounts-mock/CMakeLists.txt
parent3a75ebb5eae371de3b50ce4716a4af886d9eeac3 (diff)
downloadayatana-indicator-sound-d8d60bc83824359c6e22b9114fc0a6bde45b8eca.tar.gz
ayatana-indicator-sound-d8d60bc83824359c6e22b9114fc0a6bde45b8eca.tar.bz2
ayatana-indicator-sound-d8d60bc83824359c6e22b9114fc0a6bde45b8eca.zip
Reverted to release 507
Diffstat (limited to 'tests/service-mocks/accounts-mock/CMakeLists.txt')
-rw-r--r--tests/service-mocks/accounts-mock/CMakeLists.txt42
1 files changed, 0 insertions, 42 deletions
diff --git a/tests/service-mocks/accounts-mock/CMakeLists.txt b/tests/service-mocks/accounts-mock/CMakeLists.txt
deleted file mode 100644
index ad858bd..0000000
--- a/tests/service-mocks/accounts-mock/CMakeLists.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
-find_package(Qt5DBus REQUIRED)
-include_directories(${Qt5DBus_INCLUDE_DIRS}
- "${CMAKE_SOURCE_DIR}/tests/service-mocks")
-
-add_definitions(-DQT_NO_KEYWORDS=1)
-
-set(dbusinterface_sound_xml "com.ubuntu.AccountsService.Sound.Mock.xml")
-set_source_files_properties(${dbusinterface_sound_xml} PROPERTIES
- CLASSNAME AccountsServiceSoundMockInterface)
-
-qt5_add_dbus_interface(interface_files ${dbusinterface_sound_xml} accountsservice_sound_interface)
-
-qt5_add_dbus_adaptor(adaptor_files
- com.ubuntu.AccountsService.Sound.Mock.xml
- AccountsServiceSoundMock.h
- ubuntu::indicators::testing::AccountsServiceSoundMock
- AccountsServiceSoundMockAdaptor)
-
-qt5_add_dbus_adaptor(adaptor_files
- ${CMAKE_SOURCE_DIR}/tests/dbus-types/org.freedesktop.Accounts.xml
- AccountsMock.h
- ubuntu::indicators::testing::AccountsMock
- AccountsMockAdaptor)
-
-add_executable(
- accounts-service-sound
- ${interface_files}
- ${adaptor_files}
- AccountsServiceSoundMock.cpp
- AccountsMock.cpp
- ${CMAKE_SOURCE_DIR}/tests/service-mocks/DBusPropertiesNotifier.cpp
- main.cpp
-)
-
-qt5_use_modules(
- accounts-service-sound
- Core
- DBus
-)