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.
41 lines
1.1 KiB
41 lines
1.1 KiB
add_subdirectory( conf ) |
|
|
|
include_directories( |
|
${CMAKE_CURRENT_SOURCE_DIR}/../.. |
|
${CMAKE_CURRENT_BINARY_DIR}/../.. |
|
) |
|
|
|
add_definitions(${KDE4_ENABLE_EXCEPTIONS}) |
|
|
|
########### next target ############### |
|
|
|
set(okularGenerator_ghostview_SRCS |
|
gshandler.cpp |
|
interpreter_cmd.cpp |
|
internaldocument.cpp |
|
generator_ghostview.cpp |
|
gvlogwindow.cpp |
|
dscparse_adapter.cpp |
|
ps.c |
|
dscparse.cpp |
|
) |
|
|
|
kde4_add_ui_files(okularGenerator_ghostview_SRCS |
|
conf/gssettingswidget.ui |
|
) |
|
|
|
kde4_add_kcfg_files(okularGenerator_ghostview_SRCS conf/gssettings.kcfgc ) |
|
|
|
|
|
kde4_add_plugin(okularGenerator_ghostview WITH_PREFIX ${okularGenerator_ghostview_SRCS}) |
|
|
|
target_link_libraries(okularGenerator_ghostview ${KDE4_KDECORE_LIBS} okularcore ${LIBGS_LIBRARY} ${KDE4_KDEUI_LIBRARY} ${KDE4_KDEPRINT_LIBRARY} ${KDE4_KDE3SUPPORT_LIBRARY} ) |
|
|
|
install(TARGETS okularGenerator_ghostview DESTINATION ${PLUGIN_INSTALL_DIR}) |
|
|
|
|
|
########### install files ############### |
|
|
|
install( FILES libokularGenerator_ghostview.desktop okularGhostview.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) |
|
install( FILES okularApplication_ghostview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) |
|
|
|
|