You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
1.6 KiB
92 lines
1.6 KiB
include_directories(
|
|
${CMAKE_BINARY_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${TDE_INCLUDE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
${CMAKE_SOURCE_DIR}/libkipi
|
|
${CMAKE_BINARY_DIR}/libkipi
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
${TDE_LIB_DIR}
|
|
)
|
|
|
|
|
|
##### kipi (shared)
|
|
|
|
tde_add_library( kipi SHARED AUTOMOC
|
|
|
|
SOURCES
|
|
interface.cpp
|
|
plugin.cpp
|
|
pluginloader.cpp
|
|
KDStream.cpp
|
|
imageinfo.cpp
|
|
imagecollection.cpp
|
|
imageinfoshared.cpp
|
|
imagecollectionshared.cpp
|
|
imagedialog.cpp
|
|
uploadwidget.cpp
|
|
batchprogressdialog.cpp
|
|
imagecollectionselector.cpp
|
|
LINK
|
|
tdecore-shared
|
|
tdeio-shared
|
|
tdeui-shared
|
|
|
|
VERSION 0.1.1
|
|
|
|
DESTINATION ${LIB_INSTALL_DIR}
|
|
)
|
|
|
|
|
|
##### headers
|
|
|
|
configure_file( libkipi_export.h.cmake libkipi_export.h @ONLY )
|
|
|
|
install(
|
|
FILES ${CMAKE_CURRENT_BINARY_DIR}/libkipi_export.h
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
|
|
)
|
|
|
|
install(
|
|
FILES
|
|
interface.h
|
|
plugin.h
|
|
pluginloader.h
|
|
imageinfo.h
|
|
imagecollection.h
|
|
imageinfoshared.h
|
|
imagecollectionshared.h
|
|
imagedialog.h
|
|
uploadwidget.h
|
|
batchprogressdialog.h
|
|
imagecollectionselector.h
|
|
version.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
|
|
)
|
|
|
|
|
|
##### icons
|
|
|
|
tde_install_icons( kipi )
|
|
|
|
|
|
##### other data
|
|
|
|
install(
|
|
FILES
|
|
kipi-plugins_logo.png
|
|
banner_left.png
|
|
|
|
DESTINATION ${DATA_INSTALL_DIR}/kipi/data
|
|
)
|
|
|
|
install(
|
|
FILES kipiplugin.desktop
|
|
DESTINATION ${SERVICETYPES_INSTALL_DIR}
|
|
)
|