diff options
Diffstat (limited to 'src/tdeioslave/CMakeLists.txt')
-rw-r--r-- | src/tdeioslave/CMakeLists.txt | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/tdeioslave/CMakeLists.txt b/src/tdeioslave/CMakeLists.txt new file mode 100644 index 00000000..075a65e1 --- /dev/null +++ b/src/tdeioslave/CMakeLists.txt @@ -0,0 +1,56 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/jpegutils +) + +set( SQLITE3_LIBRARIES "" ) +if( WITH_SQLITE3 ) + include_directories( ${CMAKE_SOURCE_DIR}/src/libs/sqlite3 ) + list( APPEND SQLITE3_LIBRARIES "sqlite3-static" ) +endif( ) + + +##### tdeio modules (kparts) + +tde_add_kpart( tdeio_digikamthumbnail AUTOMOC + SOURCES digikamthumbnail.cpp + LINK dimg-static jpegutils-static tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + +tde_add_kpart( tdeio_digikamtags AUTOMOC + SOURCES digikamtags.cpp sqlitedb.cpp + LINK tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + +tde_add_kpart( tdeio_digikamalbums AUTOMOC + SOURCES digikamalbums.cpp sqlitedb.cpp + LINK + dmetadata-static tdecore-shared tdeio-shared + ${SQLITE3_LIBRARIES} ${KDCRAW_LIBRARIES} ${KEXIV2_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + +tde_add_kpart( tdeio_digikamdates AUTOMOC + SOURCES digikamdates.cpp sqlitedb.cpp + LINK tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + +tde_add_kpart( tdeio_digikamsearch AUTOMOC + SOURCES digikamsearch.cpp sqlitedb.cpp + LINK tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +tde_create_translated_desktop( + SOURCE + digikamthumbnail.protocol digikamtags.protocol digikamalbums.protocol + digikamdates.protocol digikamsearch.protocol + DESTINATION ${SERVICES_INSTALL_DIR} +) |