File: CMakeLists.txt

package info (click to toggle)
kde-baseapps 4:16.08.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,308 kB
  • ctags: 12,389
  • sloc: cpp: 109,033; ansic: 2,197; python: 943; xml: 853; sh: 197; ruby: 112; makefile: 7
file content (44 lines) | stat: -rw-r--r-- 1,478 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
include_directories (${CMAKE_CURRENT_SOURCE_DIR})

# TODO: rewrite to KDirModel
if (${QT_QT3SUPPORT_FOUND})
add_subdirectory( trees )
endif()

add_subdirectory( web_module )
add_subdirectory( history_module )
add_subdirectory( places_module )
add_subdirectory( default_entries )
add_subdirectory( test )

########### konqsidebarplugin lib: contains the base class for plugins ###############

set(konqsidebarplugin_LIB_SRCS konqsidebarplugin.cpp )

kde4_add_library(konqsidebarplugin SHARED ${konqsidebarplugin_LIB_SRCS})

target_link_libraries(konqsidebarplugin ${KDE4_KPARTS_LIBS} )

set_target_properties(konqsidebarplugin PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
install(TARGETS konqsidebarplugin ${INSTALL_TARGETS_DEFAULT_ARGS} )

########### konq_sidebar plugin: contains the KParts used by konqueror ###############

set(konq_sidebar_PART_SRCS 
 sidebar_part.cpp
 sidebar_widget.cpp
 module_manager.cpp
 konqmultitabbar.cpp
)

kde4_add_plugin(konq_sidebar ${konq_sidebar_PART_SRCS})

target_link_libraries(konq_sidebar ${KDE4_KPARTS_LIBS} konq konqsidebarplugin ${KDE4_KCMUTILS_LIBS} )

install(TARGETS konq_sidebar DESTINATION ${PLUGIN_INSTALL_DIR} )

########### install files ###############

install( FILES konq_sidebartng.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )
install( FILES konqsidebartngrc  DESTINATION  ${CONFIG_INSTALL_DIR} )
install( FILES konqsidebarplugin.h DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel )