summaryrefslogtreecommitdiffstats
path: root/fileplugin
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-02-08 13:39:11 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-02-24 15:24:57 +0100
commit0d0d685257284eb921209774574d11d4c587be7d (patch)
tree7cc86dec77d836b0ee7a326d0893cb33d12051dd /fileplugin
parentf3001ad7f07b8855b6039be7e2180f7021998eeb (diff)
downloadkbarcode-0d0d685257284eb921209774574d11d4c587be7d.tar.gz
kbarcode-0d0d685257284eb921209774574d11d4c587be7d.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit ee94e3dcbe5a7c9d76a49811e101333d5a6fbf89)
Diffstat (limited to 'fileplugin')
-rw-r--r--fileplugin/CMakeLists.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/fileplugin/CMakeLists.txt b/fileplugin/CMakeLists.txt
new file mode 100644
index 0000000..78af279
--- /dev/null
+++ b/fileplugin/CMakeLists.txt
@@ -0,0 +1,34 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### tdefile_kbarcode (kpart)
+
+tde_add_kpart( tdefile_kbarcode AUTOMOC
+
+ SOURCES
+ tdefile_kbarcode.cpp
+ LINK
+ tdecore-shared
+ tdeio-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES tdefile_kbarcode.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)