diff options
author | gregory guy <[email protected]> | 2019-01-01 13:06:27 +0100 |
---|---|---|
committer | gregory guy <[email protected]> | 2019-01-01 13:06:27 +0100 |
commit | d1629627d4dc41b6235448811009b2cbe5c08f43 (patch) | |
tree | 12fac33d740785a6f55906fad8e464cfaafb07bc /src/CMakeLists.txt | |
parent | f718df9cb647c19c8a4b5a54b8248fd9436b70cb (diff) | |
download | tdeio-apt-d1629627d4dc41b6235448811009b2cbe5c08f43.tar.gz tdeio-apt-d1629627d4dc41b6235448811009b2cbe5c08f43.zip |
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]>
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 +) |