summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/CMakeLists.txt
blob: b0f9a4e07a65ced16d9861e22f94443ade038d2a (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
#################################################
#
#  (C) 2012 Golubev Alexander
#  fatzer2 (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${PYTHON_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


##### superkaramba (executable) #################

tde_add_executable( superkaramba AUTOMOC
  SOURCES main.cpp karamba.cpp meter.cpp bar.cpp
    sensor.cpp datesensor.cpp textlabel.cpp
    memsensor.cpp uptimesensor.cpp cpusensor.cpp
    networksensor.cpp imagelabel.cpp graph.cpp
    xmmssensor.cpp programsensor.cpp
    disksensor.cpp sensorparams.cpp
    sensorsensor.cpp textfilesensor.cpp
    clickarea.cpp noatunsensor.cpp
    karambarootpixmap.cpp clickmap.cpp
    rsssensor.cpp textfield.cpp taskmanager.cpp
    showdesktop.cpp richtextlabel.cpp
    karambasessionmanaged.cpp systemtray.cpp
    bar_python.cpp meter_python.cpp
    textlabel_python.cpp richtextlabel_python.cpp
    imagelabel_python.cpp config_python.cpp
    misc_python.cpp systray_python.cpp
    task_python.cpp widget_python.cpp
    menu_python.cpp karambalistboxitem.cpp
    graph_python.cpp dcopinterface.skel
    dcopinterface.stub karambainterface.cpp
    karambaapp.cpp karamba_python.cpp
    lineparser.cpp themefile.cpp themesdlg.cpp
    themes_layout.ui themewidget_layout.ui
    themewidget.cpp kwidgetlistbox.cpp
    sknewstuff.h sknewstuff.cpp
    superkarambasettings.kcfgc themelocale.cpp
    input.cpp sklineedit.cpp input_python.cpp
    svcgrp_python.cpp
  LINK tdeio-shared ${PYTHON_LIBRARIES} 
    ${TDENEWSTUFF_LIBRARIES}
  DESTINATION ${BIN_INSTALL_DIR}
)


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

install( FILES superkarambaui.rc
  DESTINATION ${DATA_INSTALL_DIR}/superkaramba
)

install( FILES superkaramba.desktop
  DESTINATION ${APPS_INSTALL_DIR}/Utilities
)