summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: 7a66ab82c953813167e2e42f58e580149e6a48ee (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
#################################################
#
#  (C) 2011 Timothy Pearson
#  kb9vqf (AT) pearsoncomputing.net
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include_directories(
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
  ${CMAKE_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/kbfxlib/common
  ${CMAKE_SOURCE_DIR}/kbfxlib/data
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${CMAKE_BINARY_DIR}/kbfxlib/common
  ${CMAKE_BINARY_DIR}/kbfxlib/data
)


##### kbfxspinx ##################################

set( target kbfxspinx )

set( ${target}_SRCS
  kbfxbutton.cpp kbfxplasmacanvasabstractitem.cpp kbfxplasmacanvasgroup.cpp
  kbfxplasmacanvasgroupview.cpp kbfxplasmacanvasitem.cpp kbfxplasmacanvasitem_events.cpp
  kbfxplasmacanvasitemwrapper.cpp kbfxplasmacanvasstack.cpp kbfxplasmacanvasview.cpp
  kbfxplasmaindexitem.cpp kbfxplasmaindexview.cpp kbfxspinx.cpp kbfxspinxmenu.cpp
  kbfxspinxpopup.cpp kbfxspinxscrollbar.cpp kbfxspinxtoolbar.cpp kbfxspinxtoolbutton.cpp
  kbfxspinxtop.cpp kbfxspinxview.cpp kbfxtooltip.cpp kbfxspinx.skel
)

tde_add_kpart( ${target} AUTOMOC
  SOURCES ${${target}_SRCS}
  LINK tdecore-shared tdeui-shared tdeio-shared kbfxcommon-shared kbfxdata-shared
  DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### desktop files ###############################

INSTALL(FILES kbfxspinx.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets)