summaryrefslogtreecommitdiffstats
path: root/fileplugin
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-02-08 13:39:11 +0100
committerSlávek Banko <[email protected]>2019-02-24 12:32:20 +0100
commitee94e3dcbe5a7c9d76a49811e101333d5a6fbf89 (patch)
tree446e180af9955b4f2b2033b1b2d48eef3f8f028d /fileplugin
parentce1c9bf53873d4d0ccc29c1220ed29125ec85fcc (diff)
downloadkbarcode-ee94e3dcbe5a7c9d76a49811e101333d5a6fbf89.tar.gz
kbarcode-ee94e3dcbe5a7c9d76a49811e101333d5a6fbf89.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]>
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}
+)