okular/generators/comicbook/CMakeLists.txt
Pino Toscano 6aa123656a Port the plugin system to the standard KDE factory and loader, getting rid of the custom system okular had so far.
This requires a generator to have a
  MyGenerator(QObject *parent, const QVariantList &args)
constructor in order to be successfully loaded.
The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed.

Remove the 'lib' prefix from plugins, unneeded now.

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
2007-12-02 20:57:24 +00:00

27 lines
721 B
CMake

include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
########### next target ###############
set( okularGenerator_comicbook_PART_SRCS
document.cpp
generator_comicbook.cpp
unrar.cpp qnatsort.cpp
)
kde4_add_plugin(okularGenerator_comicbook ${okularGenerator_comicbook_PART_SRCS})
target_link_libraries(okularGenerator_comicbook okularcore ${KDE4_KDEUI_LIBS} )
install(TARGETS okularGenerator_comicbook DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_comicbook.desktop okularComicbook.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_comicbook.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )