summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: fe57b52792e0461224b726b17e79cf06a3e64a6e (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
81
82
83
84
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}/include
  ${CMAKE_BINARY_DIR}
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### tderadio (shared)

tde_add_library( tderadio SHARED AUTOMOC
  META_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include
  SOURCES
    alarm.cpp
    debug-profiler.cpp
    errorlog-interfaces.cpp
    fileringbuffer.cpp
    frequencyradiostation.cpp
    frequencyseekhelper.cpp
    internetradiostation.cpp
    multibuffer.cpp
    plugin_configuration_dialog.cpp
    plugins.cpp
    pluginmanager.cpp
    pluginmanager-configuration.cpp
    pluginmanager-configuration-ui.ui
    radio_interfaces.cpp
    radiodevice_interfaces.cpp
    radiodevicepool_interfaces.cpp
    radiostation.cpp
    radiostation-config.cpp
    radiostation-listview.cpp
    ringbuffer.cpp
    seekhelper.cpp
    soundformat.cpp
    soundstreamclient_interfaces.cpp
    soundstreamid.cpp
    standardscandialog.cpp
    standardscandialog-ui.ui
    station-drag-object.cpp
    stationlist.cpp
    stationlistxmlhandler.cpp
    stationselection_interfaces.cpp
    stationselector.cpp
    stationselector-ui.ui
    timecontrol_interfaces.cpp
    utils.cpp
    widgetplugins.cpp

  LINK tdecore-shared tdeui-shared tdeio-shared
  VERSION 0.0.0
  DESTINATION ${LIB_INSTALL_DIR}
)


##### tderadio (executable)

tde_add_executable( tderadio AUTOMOC
  META_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include
  SOURCES
    main.cpp
    tderadioapp.cpp
    aboutwidget.cpp

  LINK tderadio-shared
  DESTINATION ${BIN_INSTALL_DIR}
)


##### other data

tde_create_translated_desktop( tderadio.desktop )

install(
  FILES tderadio.xpm
  DESTINATION ${SHARE_INSTALL_PREFIX}/pixmaps
)