~ubuntu-branches/ubuntu/quantal/kdepim/quantal

« back to all changes in this revision

Viewing changes to calendarsupport/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:51 UTC
  • mto: This revision was merged to the branch mainline in revision 193.
  • Revision ID: package-import@ubuntu.com-20111215141751-bmhdpiwl23wd9w26
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Commented because it uses your real calendar. You can loose data.
2
2
# I'll uncomment this when tests use testrunner.
3
 
# add_subdirectory( next/tests )
 
3
# add_subdirectory(next/tests)
4
4
 
5
5
include_directories(
6
6
  ${QT_QTDBUS_INCLUDE_DIR}
13
13
 
14
14
set(calendarsupport_LIB_SRCS
15
15
  archivedialog.cpp
16
 
  # attachmenthandler.cpp
 
16
  attachmenthandler.cpp
17
17
  attributeregistrar.cpp
18
18
  blockalarmsattribute.cpp
19
19
  calendar.cpp
34
34
  incidenceattachmentmodel.cpp
35
35
  incidencechanger.cpp
36
36
  incidencefilterproxymodel.cpp
37
 
  incidenceviewer.cpp
38
37
  kcalmodel.cpp
39
38
  kcalprefs.cpp
40
39
  mailclient.cpp
48
47
  next/incidencechanger2.cpp
49
48
  next/incidencefetchjob.cpp
50
49
  next/incidencesearchjob.cpp
 
50
  next/incidenceviewer.cpp
51
51
  next/invitationhandler.cpp
52
52
  next/mailscheduler2.cpp
53
53
  next/scheduler.cpp
54
54
)
55
55
 
56
 
if (NOT WINCE)
57
 
  add_subdirectory( tests )
58
 
  set( calendarsupport_LIB_SRCS ${calendarsupport_LIB_SRCS}
 
56
if(NOT WINCE)
 
57
  add_subdirectory(tests)
 
58
  set(calendarsupport_LIB_SRCS
 
59
    ${calendarsupport_LIB_SRCS}
59
60
    dndfactory.cpp
60
61
  )
61
 
endif (NOT WINCE)
 
62
endif()
62
63
 
63
64
kde4_add_ui_files(calendarsupport_LIB_SRCS publishdialog_base.ui)
64
65
 
65
 
kde4_add_kcfg_files(calendarsupport_LIB_SRCS kcalprefs_base.kcfgc )
 
66
kde4_add_kcfg_files(calendarsupport_LIB_SRCS kcalprefs_base.kcfgc)
66
67
 
67
68
# qt4_add_dbus_interface(calendarsupport_LIB_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/org.freedesktop.Akonadi.CalendarSearchAgent.xml calendarsearchinterface)
68
69
 
85
86
  ${KDE4_KIO_LIBS}
86
87
)
87
88
 
88
 
set_target_properties(calendarsupport PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
 
89
set_target_properties(calendarsupport PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
89
90
 
90
 
install( TARGETS calendarsupport ${INSTALL_TARGETS_DEFAULT_ARGS} )
91
 
install( FILES calendarplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
 
91
install(TARGETS calendarsupport ${INSTALL_TARGETS_DEFAULT_ARGS})
 
92
install(FILES calendarplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})