diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 22:28:09 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 22:28:09 +0000 |
commit | 5ae369ea2e5e5bc7f98a1e82e6d957dc89cffe56 (patch) | |
tree | be18e741e25573c861913355a6b0bd9a60df71e8 | |
parent | d64072db8ef872ff2c97cf2b857a2eb104b6ea41 (diff) | |
download | tdenetwork-5ae369ea2e5e5bc7f98a1e82e6d957dc89cffe56.tar.gz tdenetwork-5ae369ea2e5e5bc7f98a1e82e6d957dc89cffe56.zip |
[kdenetwork/kfile-plugins] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237328 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | kfile-plugins/CMakeLists.txt | 12 | ||||
-rw-r--r-- | kfile-plugins/torrent/CMakeLists.txt | 38 |
3 files changed, 52 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f18c8112..7b170965 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,6 +95,7 @@ option( BUILD_DOC "Build doc" ${BUILD_ALL} ) option( BUILD_FILESHARING "Build filesharing" ${BUILD_ALL} ) option( BUILD_KDICT "Build kdict" ${BUILD_ALL} ) option( BUILD_KDNSSD "Build kdnssd" ${BUILD_ALL} ) +option( BUILD_KFILE_PLUGINS "Build kfile-plugins" ${BUILD_ALL} ) option( BUILD_KOPETE "Build kopete" ${BUILD_ALL} ) option( BUILD_LIBRSS "Build librss" ${BUILD_ALL} ) @@ -122,6 +123,7 @@ tde_conditional_add_subdirectory( BUILD_DOC doc ) tde_conditional_add_subdirectory( BUILD_FILESHARING filesharing ) tde_conditional_add_subdirectory( BUILD_KDICT kdict ) tde_conditional_add_subdirectory( BUILD_KDNSSD kdnssd ) +tde_conditional_add_subdirectory( BUILD_KFILE_PLUGINS kfile-plugins ) tde_conditional_add_subdirectory( BUILD_KOPETE kopete ) tde_conditional_add_subdirectory( BUILD_LIBRSS librss ) 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} +) |