summaryrefslogtreecommitdiffstats
path: root/convert-presets
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 /convert-presets
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 'convert-presets')
-rw-r--r--convert-presets/CMakeLists.txt26
-rw-r--r--convert-presets/po/CMakeLists.txt1
2 files changed, 27 insertions, 0 deletions
diff --git a/convert-presets/CMakeLists.txt b/convert-presets/CMakeLists.txt
new file mode 100644
index 0000000..c6643ea
--- /dev/null
+++ b/convert-presets/CMakeLists.txt
@@ -0,0 +1,26 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### convert_presets (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### convert_presets (executable)
+
+tde_add_executable( convert-presets AUTOMOC
+ SOURCES convert-presets.cpp
+ LINK tdecore-shared tdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/convert-presets/po/CMakeLists.txt b/convert-presets/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/convert-presets/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()