summaryrefslogtreecommitdiffstats
path: root/plugins/timecontrol
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:59:48 +0900
commit5161d40d204dc6dbd9c34b5be0052243240f15b1 (patch)
tree5ccc61290c25f3c1f18a1e821ea59f90df97518e /plugins/timecontrol
parente46a8b8db6082f7d5e293407d654f127c48a0256 (diff)
downloadtderadio-5161d40d204dc6dbd9c34b5be0052243240f15b1.tar.gz
tderadio-5161d40d204dc6dbd9c34b5be0052243240f15b1.zip
CMake conversion.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit bc7518bdba609f90ee89de8b4e7ddaa1e567b1a8)
Diffstat (limited to 'plugins/timecontrol')
-rw-r--r--plugins/timecontrol/CMakeLists.txt28
-rw-r--r--plugins/timecontrol/icons/CMakeLists.txt1
-rw-r--r--plugins/timecontrol/po/CMakeLists.txt1
3 files changed, 30 insertions, 0 deletions
diff --git a/plugins/timecontrol/CMakeLists.txt b/plugins/timecontrol/CMakeLists.txt
new file mode 100644
index 0000000..772612e
--- /dev/null
+++ b/plugins/timecontrol/CMakeLists.txt
@@ -0,0 +1,28 @@
+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}
+)
+
+
+##### timecontrol (icons and translations)
+
+add_subdirectory( icons )
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### timecontrol (plugin)
+
+tde_add_kpart( libtimecontrol AUTOMOC
+ SOURCES timecontrol-configuration.cpp timecontrol-configuration-ui.ui timecontrol.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/timecontrol/icons/CMakeLists.txt b/plugins/timecontrol/icons/CMakeLists.txt
new file mode 100644
index 0000000..63f765b
--- /dev/null
+++ b/plugins/timecontrol/icons/CMakeLists.txt
@@ -0,0 +1 @@
+tde_install_icons( )
diff --git a/plugins/timecontrol/po/CMakeLists.txt b/plugins/timecontrol/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/timecontrol/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()