From 5ae369ea2e5e5bc7f98a1e82e6d957dc89cffe56 Mon Sep 17 00:00:00 2001 From: samelian Date: Fri, 17 Jun 2011 22:28:09 +0000 Subject: [kdenetwork/kfile-plugins] added cmake support git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237328 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/CMakeLists.txt | 12 ++++++++++++ kfile-plugins/torrent/CMakeLists.txt | 38 ++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 kfile-plugins/CMakeLists.txt create mode 100644 kfile-plugins/torrent/CMakeLists.txt (limited to 'kfile-plugins') diff --git a/kfile-plugins/CMakeLists.txt b/kfile-plugins/CMakeLists.txt new file mode 100644 index 00000000..26723ebe --- /dev/null +++ b/kfile-plugins/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( torrent ) diff --git a/kfile-plugins/torrent/CMakeLists.txt b/kfile-plugins/torrent/CMakeLists.txt new file mode 100644 index 00000000..92f07537 --- /dev/null +++ b/kfile-plugins/torrent/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kfile_torrent.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### kfile_torrent (module) #################### + +tde_add_kpart( kfile_torrent AUTOMOC + SOURCES + bytetape.cpp bint.cpp bstring.cpp blist.cpp + bdict.cpp kfile_torrent.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) -- cgit v1.2.1