Page MenuHomePhorge

No OneTemporary

diff --git a/interfaces/kmediaplayer/CMakeLists.txt b/interfaces/kmediaplayer/CMakeLists.txt
index 2725cfde78..0482d8050c 100644
--- a/interfaces/kmediaplayer/CMakeLists.txt
+++ b/interfaces/kmediaplayer/CMakeLists.txt
@@ -1,32 +1,33 @@
add_subdirectory( kfileaudiopreview )
include_directories( ${KDE4_KPARTS_INCLUDES} )
########### next target ###############
set(kmediaplayer_LIB_SRCS
player.cpp
view.cpp
kmediaplayeradaptor.cpp
)
kde4_add_library(kmediaplayer ${LIBRARY_TYPE} ${kmediaplayer_LIB_SRCS})
+generate_export_header(kmediaplayer)
target_link_libraries(kmediaplayer ${KDE4_KPARTS_LIBS} )
target_link_libraries(kmediaplayer LINK_INTERFACE_LIBRARIES ${KDE4_KPARTS_LIBS} ${QT_QTGUI_LIBRARY} )
set_target_properties(kmediaplayer PROPERTIES
VERSION ${GENERIC_LIB_VERSION}
SOVERSION ${GENERIC_LIB_SOVERSION}
)
install(TARGETS kmediaplayer ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
-install( FILES kmediaplayer_export.h player.h view.h DESTINATION ${INCLUDE_INSTALL_DIR}/kmediaplayer COMPONENT Devel)
+install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kmediaplayer_export.h player.h view.h DESTINATION ${INCLUDE_INSTALL_DIR}/kmediaplayer COMPONENT Devel)
install( FILES kmediaplayerengine.desktop kmediaplayer.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
install( FILES org.kde.KMediaPlayer.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
diff --git a/interfaces/kmediaplayer/kmediaplayer_export.h b/interfaces/kmediaplayer/kmediaplayer_export.h
deleted file mode 100644
index 0dde1542aa..0000000000
--- a/interfaces/kmediaplayer/kmediaplayer_export.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* This file is part of the KDE project
- Copyright (C) 2007 David Faure <faure@kde.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef KMEDIAPLAYER_EXPORT_H
-#define KMEDIAPLAYER_EXPORT_H
-
-/* needed for KDE_EXPORT and KDE_IMPORT macros */
-#include <kdemacros.h>
-
-#ifndef KMEDIAPLAYER_EXPORT
-# if defined(KDELIBS_STATIC_LIBS)
- /* No export/import for static libraries */
-# define KMEDIAPLAYER_EXPORT
-# elif defined(MAKE_KMEDIAPLAYER_LIB)
- /* We are building this library */
-# define KMEDIAPLAYER_EXPORT KDE_EXPORT
-# else
- /* We are using this library */
-# define KMEDIAPLAYER_EXPORT KDE_IMPORT
-# endif
-#endif
-
-#endif

File Metadata

Mime Type
text/x-diff
Expires
Fri, Nov 1, 9:17 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10075716
Default Alt Text
(3 KB)

Event Timeline