summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
commitde7e5867a65e0a46f1388e3e50bc7eeddd1aecbf (patch)
treedbb3152c372f8620f9290137d461f3d9f9eba1cb /tdeioslave/media/CMakeLists.txt
parent936d3cec490c13f2c5f7dd14f5e364fddaa6da71 (diff)
downloadtdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.tar.gz
tdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdeioslave/media/CMakeLists.txt')
-rw-r--r--tdeioslave/media/CMakeLists.txt59
1 files changed, 59 insertions, 0 deletions
diff --git a/tdeioslave/media/CMakeLists.txt b/tdeioslave/media/CMakeLists.txt
new file mode 100644
index 000000000..68d4bf9d6
--- /dev/null
+++ b/tdeioslave/media/CMakeLists.txt
@@ -0,0 +1,59 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( libmediacommon )
+add_subdirectory( mediamanager )
+add_subdirectory( medianotifier )
+add_subdirectory( mounthelper )
+add_subdirectory( tdefile-plugin )
+add_subdirectory( tdecmodule )
+add_subdirectory( mimetypes )
+add_subdirectory( services )
+add_subdirectory( propsdlgplugin )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/libmediacommon
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES media.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kiomedia (static) #########################
+
+set( target kiomedia )
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES kio_media.cpp mediaimpl.cpp mediaimpl.skel
+)
+
+
+##### kio_media (module) ########################
+
+set( target kio_media )
+
+tde_add_kpart( ${target} AUTOMOC
+ SOURCES dummy.cpp
+ EMBED kiomedia-static
+ LINK mediacommon-static tdeio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)