summaryrefslogtreecommitdiffstats
path: root/plugins/radio
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/radio')
-rw-r--r--plugins/radio/CMakeLists.txt28
-rw-r--r--plugins/radio/po/CMakeLists.txt1
2 files changed, 29 insertions, 0 deletions
diff --git a/plugins/radio/CMakeLists.txt b/plugins/radio/CMakeLists.txt
new file mode 100644
index 0000000..9877aba
--- /dev/null
+++ b/plugins/radio/CMakeLists.txt
@@ -0,0 +1,28 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/src
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### radio (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### radio (plugin)
+
+tde_add_kpart( libradio AUTOMOC
+ SOURCES radio-configuration.cpp radio-configuration-ui.ui radio.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/radio/po/CMakeLists.txt b/plugins/radio/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/radio/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()