diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..4120377 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,53 @@ +add_subdirectory( parsers ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/parsers + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/parsers +) + + +##### tdeio_apt (kpart) + +tde_add_kpart( tdeio_apt AUTOMOC + + SOURCES + aptcache.cpp + apt.cpp + regexps.cpp + packagemanager.cpp + dpkg.cpp + LINK + tdecore-shared + tdeui-shared + parsers-static + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES apt.protocol apt+http.protocol + DESTINATION ${SERVICES_INSTALL_DIR} +) + +install( + FILES tdeio_apt.css tdedeb_logo.png + DESTINATION ${DATA_INSTALL_DIR}/tdeio_apt/ +) + +install( + FILES apt-search.desktop apt-file.desktop apt-files.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/searchproviders +) |