~phablet-team/telephony-service/trunk

« back to all changes in this revision

Viewing changes to TelephonyApp/CMakeLists.txt

  • Committer: Gustavo Pichorim Boiko
  • Date: 2012-06-13 13:36:32 UTC
  • mfrom: (143.3.10 telephony-app-call_log)
  • Revision ID: gustavo.boiko@canonical.com-20120613133632-1pas7gut6a16tfb3
Add support for showing the call log

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# QML plugin
2
2
 
3
 
set(plugin_SRCS components.cpp channelhandler.cpp chatmanager.cpp callmanager.cpp telepathyhelper.cpp)
4
 
set(plugin_HDRS components.h channelhandler.h chatmanager.h callmanager.h telepathyhelper.h)
 
3
set(plugin_SRCS
 
4
    calllogmodel.cpp
 
5
    calllogproxymodel.cpp
 
6
    components.cpp
 
7
    channelhandler.cpp
 
8
    chatmanager.cpp
 
9
    callmanager.cpp
 
10
    telepathyhelper.cpp
 
11
    )
 
12
 
 
13
set(plugin_HDRS
 
14
    calllogmodel.h
 
15
    calllogproxymodel.h
 
16
    components.h
 
17
    channelhandler.h
 
18
    chatmanager.h
 
19
    callmanager.h
 
20
    telepathyhelper.h
 
21
    )
5
22
 
6
23
qt4_wrap_cpp(plugin_MOC_SRCS ${plugin_HDRS})
7
24
 
8
25
include_directories(
9
 
    ${QT_INCLUDE_DIR}
10
 
    ${TP_QT4_INCLUDE_DIRS})
 
26
    ${QT_QTCORE_INCLUDE_DIR}
 
27
    ${QT_QTGUI_INCLUDE_DIR}
 
28
    ${QTMOBILITY_CONTACTS_INCLUDE_DIR}
 
29
    ${QTMOBILITY_INCLUDE_DIR}
 
30
    ${TP_QT4_INCLUDE_DIRS}
 
31
    ${TPL_QT4_INCLUDE_DIRS}
 
32
    ${GLIB_INCLUDE_DIRS}
 
33
    )
11
34
 
12
35
add_library(telephony-qml SHARED ${plugin_SRCS} ${plugin_HDRS} ${plugin_MOC_SRCS})
13
36
 
14
37
target_link_libraries(telephony-qml
15
38
    ${QT_QTCORE_LIBRARIES}
16
39
    ${QT_QTDECLARATIVE_LIBRARIES}
17
 
    ${TP_QT4_LIBRARIES})
 
40
    ${QTMOBILITY_CONTACTS_LIBRARY}
 
41
    ${TP_QT4_LIBRARIES}
 
42
    ${TPL_QT4_LIBRARIES}
 
43
    ${GLIB_LIBRARIES}
 
44
    )
18
45
 
19
46
set(PLUGIN_DIR ${QT_IMPORTS_DIR}/TelephonyApp)
20
47
install(TARGETS telephony-qml DESTINATION ${PLUGIN_DIR})