mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00

KonqPopupMenu/Plugin is independant implementation - .desktop files with actions and a service type to query for Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
58 lines
1.5 KiB
CMake
58 lines
1.5 KiB
CMake
add_subdirectory( favicons )
|
|
add_subdirectory( Templates )
|
|
if(ENABLE_TESTING)
|
|
add_subdirectory( tests )
|
|
endif()
|
|
|
|
########### libkonq ###############
|
|
|
|
set(konq_LIB_SRCS
|
|
konq_popupmenu.cpp # used by konqueror, kfind, folderview, kickoff
|
|
konq_dndpopupmenuplugin.cpp # for KonqDndPopupMenu and its plugins
|
|
konq_copytomenu.cpp # used by dolphin, KonqPopupMenu
|
|
konq_operations.cpp # used by dolphin and konqueror
|
|
konqmimedata.cpp # used by dolphin, KonqOperations, some filemanagement konqueror modules.
|
|
kversioncontrolplugin.cpp # used by dolphin and its version control plugins
|
|
)
|
|
|
|
add_library(konq SHARED ${konq_LIB_SRCS})
|
|
|
|
target_link_libraries(konq PRIVATE
|
|
${X11_X11_LIB}
|
|
)
|
|
target_link_libraries(konq PUBLIC
|
|
KDE4::kparts
|
|
KDE4::kfile
|
|
)
|
|
|
|
set_target_properties(konq PROPERTIES
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
)
|
|
|
|
install(
|
|
TARGETS konq
|
|
EXPORT kdeworkspaceTargets
|
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
|
)
|
|
|
|
########### install files ###############
|
|
|
|
generate_export_header(konq)
|
|
|
|
install(FILES
|
|
${CMAKE_CURRENT_BINARY_DIR}/konq_export.h
|
|
konq_popupmenu.h # used by folderview
|
|
konq_dndpopupmenuplugin.h
|
|
# konq_copytomenu.h - anyone needs it?
|
|
konq_operations.h
|
|
konqmimedata.h
|
|
kversioncontrolplugin.h
|
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
|
)
|
|
install(
|
|
FILES
|
|
konqpopupmenuplugin.desktop
|
|
konqdndpopupmenuplugin.desktop
|
|
DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR}
|
|
)
|