aboutsummaryrefslogtreecommitdiff
path: root/tests/service-mocks/media-player-mpris-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/media-player-mpris-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/media-player-mpris-mock/CMakeLists.txt')
-rw-r--r--tests/service-mocks/media-player-mpris-mock/CMakeLists.txt63
1 files changed, 0 insertions, 63 deletions
diff --git a/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt b/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
deleted file mode 100644
index b5f5861..0000000
--- a/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -fPIC -pthread")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -fno-strict-aliasing -Wextra -fPIC -pthread")
-
-find_package(Qt5DBus REQUIRED)
-include_directories(${Qt5DBus_INCLUDE_DIRS}
- "${CMAKE_SOURCE_DIR}/tests/service-mocks")
-
-add_definitions(-DQT_NO_KEYWORDS=1)
-
-set(dbusinterface_mediaplayermpris_xml "org.mpris.MediaPlayer2.Player.xml")
-set_source_files_properties(${dbusinterface_mediaplayermpris_xml} PROPERTIES
- CLASSNAME MediaPlayerMprisMockInterface)
-
-qt5_add_dbus_interface(interface_files ${dbusinterface_mediaplayermpris_xml} MediaPlayerMprisMockInterface)
-
-qt5_add_dbus_adaptor(adaptor_files
- org.mpris.MediaPlayer2.Player.xml
- MediaPlayerMprisMock.h
- ubuntu::indicators::testing::MediaPlayerMprisMock
- MediaPlayerMprisMockAdaptor)
-
-qt5_add_dbus_adaptor(adaptor_files
- org.mpris.MediaPlayer2.xml
- MediaPlayerMprisMock.h
- ubuntu::indicators::testing::MediaPlayerMprisMock
- MediaPlayer2MockAdaptor)
-
-add_executable(
- media-player-mpris-mock
- ${adaptor_files}
- MediaPlayerMprisMock.cpp
- ${CMAKE_SOURCE_DIR}/tests/service-mocks/DBusPropertiesNotifier.cpp
- main.cpp
- testplayers
-)
-
-add_executable(
- media-player-mpris-mock-update
- ${interface_files}
- player-update.cpp
- testplayers
-)
-
-qt5_use_modules(
- media-player-mpris-mock
- Core
- DBus
-)
-
-qt5_use_modules(
- media-player-mpris-mock-update
- Core
- DBus
-)
-
-# test players desktop files
-add_custom_command (OUTPUT testplayers
- DEPENDS ${CMAKE_SOURCE_DIR}/tests/service-mocks/media-player-mpris-mock/applications
- COMMAND mkdir -p ${XDG_DATA_DIRS}
- COMMAND cp -r ${CMAKE_SOURCE_DIR}/tests/service-mocks/media-player-mpris-mock/applications ${XDG_DATA_DIRS})