From d1629627d4dc41b6235448811009b2cbe5c08f43 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 1 Jan 2019 13:06:27 +0100 Subject: conversion to the cmake building system Signed-off-by: gregory guy --- src/CMakeLists.txt | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/CMakeLists.txt (limited to 'src/CMakeLists.txt') 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 +) -- cgit v1.2.1