diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-01 10:36:36 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-16 20:53:31 +0900 |
commit | 394069e6de4326fd15a603fd0598d2de0c3342cd (patch) | |
tree | 4d4ab27dd03e368ac479271e707550457d7205e4 /src/tdeioslave/CMakeLists.txt | |
parent | 67fd8bef19878c6940d48fbdafe07a8842c99fd1 (diff) | |
download | digikam-feat/cmake-conversion.tar.gz digikam-feat/cmake-conversion.zip |
Conversion to cmake building systemfeat/cmake-conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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} +) |