summaryrefslogtreecommitdiffstats
path: root/plugins/soundserver
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-06-18 22:59:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-07-10 17:21:43 +0900
commitbc7518bdba609f90ee89de8b4e7ddaa1e567b1a8 (patch)
tree7a3f446098bbdaafc799fc97dd1bb998a2456252 /plugins/soundserver
parentf3116341d095d1b0237f7a36d1f3511759da7b03 (diff)
downloadtderadio-bc7518bdba609f90ee89de8b4e7ddaa1e567b1a8.tar.gz
tderadio-bc7518bdba609f90ee89de8b4e7ddaa1e567b1a8.zip
CMake conversion.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'plugins/soundserver')
-rw-r--r--plugins/soundserver/CMakeLists.txt27
-rw-r--r--plugins/soundserver/po/CMakeLists.txt1
2 files changed, 28 insertions, 0 deletions
diff --git a/plugins/soundserver/CMakeLists.txt b/plugins/soundserver/CMakeLists.txt
new file mode 100644
index 0000000..3880ff0
--- /dev/null
+++ b/plugins/soundserver/CMakeLists.txt
@@ -0,0 +1,27 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### soundserver (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### soundserver (plugin)
+
+tde_add_kpart( libsoundserver AUTOMOC
+ SOURCES soundserver.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/soundserver/po/CMakeLists.txt b/plugins/soundserver/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/soundserver/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()