summaryrefslogtreecommitdiffstats
path: root/libtdemid/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:21 -0600
commitdfe289850f068f19ba4a83ab4e7e22a7e09c13c9 (patch)
treec297348a55df66c571de4525646e0b9762427353 /libtdemid/CMakeLists.txt
parentb7658a0d5eca24a9d37c6e04f88298ef02389db0 (diff)
downloadtdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.tar.gz
tdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'libtdemid/CMakeLists.txt')
-rw-r--r--libtdemid/CMakeLists.txt51
1 files changed, 51 insertions, 0 deletions
diff --git a/libtdemid/CMakeLists.txt b/libtdemid/CMakeLists.txt
new file mode 100644
index 000000000..bc9fdb416
--- /dev/null
+++ b/libtdemid/CMakeLists.txt
@@ -0,0 +1,51 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/tdecore
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/tdecore
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ midiout.h player.h track.h midimapper.h midfile.h
+ dattypes.h midistat.h deviceman.h synthout.h
+ fmout.h gusout.h alsaout.h voiceman.h notearray.h
+ mt32togm.h midispec.h libtdemid.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/libtdemid )
+
+
+##### tdemid ######################################
+
+set( target tdemid )
+
+set( ${target}_SRCS
+ midiout.cc player.cc track.cc midimapper.cc
+ midfile.cc dattypes.cc midistat.cc deviceman.cc
+ synthout.cc fmout.cc gusout.cc alsaout.cc voiceman.cc
+ mt32togm.cc notearray.cc libtdemid.cc
+)
+
+tde_add_library( ${target} SHARED
+ SOURCES ${${target}_SRCS}
+ VERSION 0.0.95
+ LINK tdecore-shared ${ALSA_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)