summaryrefslogtreecommitdiffstats
path: root/libkonq/CMakeLists.txt
blob: 4da0451694528b6b578f86506e1f775be5093ee5 (plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

project( libkonq )


add_subdirectory( pics )
add_subdirectory( favicons )

include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
  ${ARTS_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}/arts/
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${ARTS_LIBRARY_DIRS}
)


##### headers ###################################

install( FILES
    konq_popupmenu.h knewmenu.h tdefileivi.h konq_drag.h
    konq_iconviewwidget.h konq_defaults.h konq_settings.h
    konq_operations.h libkonq_export.h konq_dirpart.h
    konq_propsview.h konq_events.h konq_undo.h
    konq_historymgr.h konq_historycomm.h konq_pixmapprovider.h
    kivdirectoryoverlay.h konq_faviconmgr.h konq_xmlguiclient.h
    konqbookmarkmanager.h konq_filetip.h
  DESTINATION ${INCLUDE_INSTALL_DIR} )


##### other data ################################

install( FILES directory_bookmarkbar.desktop DESTINATION ${DATA_INSTALL_DIR}/kbookmark )
install( FILES konqpopupmenuplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )


##### konq (shared lib) #########################

tde_add_library( konq SHARED AUTOMOC
  SOURCES
    konq_popupmenu.cc knewmenu.cc konq_xmlguiclient.cc tdefileivi.cc
    konq_iconviewwidget.cc konq_settings.cc konq_drag.cc konq_operations.cc
    konq_dirpart.cc konq_propsview.cc konq_events.cc konq_bgnddlg.cc konq_undo.cc
    konq_undo.skel konq_historymgr.cc konq_historycomm.cc konq_historycomm.skel
    konq_pixmapprovider.cc kivdirectoryoverlay.cc konq_faviconmgr.cc
    konq_faviconmgr.skel konq_filetip.cc
  VERSION 4.2.0
  LINK tdeparts-shared
  DESTINATION ${LIB_INSTALL_DIR}
)


##### konq_sound (module) #######################

if( WITH_ARTS )
  tde_add_kpart( konq_sound
    SOURCES konq_sound.cc
    LINK artskde-shared
    DESTINATION ${PLUGIN_INSTALL_DIR} )
endif( )


##### install import cmake modules ###############

tde_install_export( )