From bc7518bdba609f90ee89de8b4e7ddaa1e567b1a8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 18 Jun 2022 22:59:25 +0900 Subject: CMake conversion. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michele Calgaro Signed-off-by: Slávek Banko --- plugins/timeshifter/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ plugins/timeshifter/icons/CMakeLists.txt | 1 + plugins/timeshifter/po/CMakeLists.txt | 1 + 3 files changed, 30 insertions(+) create mode 100644 plugins/timeshifter/CMakeLists.txt create mode 100644 plugins/timeshifter/icons/CMakeLists.txt create mode 100644 plugins/timeshifter/po/CMakeLists.txt (limited to 'plugins/timeshifter') diff --git a/plugins/timeshifter/CMakeLists.txt b/plugins/timeshifter/CMakeLists.txt new file mode 100644 index 0000000..d0c2e81 --- /dev/null +++ b/plugins/timeshifter/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} +) + + +##### timeshifter (icons and translations) + +add_subdirectory( icons ) +tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) + + +##### timeshifter (plugin) + +tde_add_kpart( libtimeshifter AUTOMOC + SOURCES timeshifter.cpp timeshifter-configuration-ui.ui timeshifter-configuration.cpp + LINK tderadio-shared + DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins +) diff --git a/plugins/timeshifter/icons/CMakeLists.txt b/plugins/timeshifter/icons/CMakeLists.txt new file mode 100644 index 0000000..63f765b --- /dev/null +++ b/plugins/timeshifter/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( ) diff --git a/plugins/timeshifter/po/CMakeLists.txt b/plugins/timeshifter/po/CMakeLists.txt new file mode 100644 index 0000000..24e3bd8 --- /dev/null +++ b/plugins/timeshifter/po/CMakeLists.txt @@ -0,0 +1 @@ +tde_add_project_translations() -- cgit v1.2.1