~ubuntu-branches/ubuntu/saucy/kdepimlibs/saucy-proposed

« back to all changes in this revision

Viewing changes to akonadi/calendar/CMakeLists.txt_new

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman, Jonathan Riddell, Scott Kitterman
  • Date: 2012-11-19 17:32:30 UTC
  • mfrom: (1.1.85)
  • Revision ID: package-import@ubuntu.com-20121119173230-xi32j2vpz82zlmmh
Tags: 4:4.9.80-0ubuntu1
[ Jonathan Riddell ]
* New upstream beta release
* Remove 03_hide_akonadi_progressbar.diff now upstream
* Update .symbols file

[ Scott Kitterman ]
* Add libqjson-dev to build-depends since it is required for 4.10
* Update symbols files
* Drop FindAkonadi.cmake from debian/kdepimlibs5-dev.install since it is no
  longer provided by upstream
* Add FindQtOAuth.cmake to debian/kdepimlibs5-dev.install
* Document files we don't install in debian/NOT-INSTALLED
* Add new binary, libakonadi-socialutils4
  - Add to debian/control
  - Add to kdepimlibs metapackage depends
  - Add debian/libakonadi-socialutils4.install
  - Add debian/libakonadi-socialutils4.symbols 
* Update kdepimlibs5-dev.install for new headers for 4.10
* Add googletalkprotocol.desktop to debian/libakonadi-contact4.install
* Add missing symbols files for libakonadi-notes4 and libkalarmcal2
* Add dont_break_libkabc_abi.diff to fix ABI break - patch from José Manuel
  Santamaría Lema

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
include_directories(
 
3
    ${CMAKE_CURRENT_SOURCE_DIR}
 
4
    ${CMAKE_CURRENT_BINARY_DIR}
 
5
)
 
6
 
 
7
add_subdirectory( tests )
 
8
 
 
9
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -UQT_NO_CAST_FROM_ASCII -UQT_NO_CAST_TO_ASCII ${KDE4_ENABLE_EXCEPTIONS}")
 
10
 
 
11
set(akonadicalendar_LIB_SRC
 
12
  blockalarmsattribute.cpp
 
13
  calendarbase.cpp
 
14
  calendarclipboard.cpp
 
15
  calendarmodel.cpp
 
16
  etmcalendar.cpp
 
17
  history.cpp
 
18
  history_p.cpp
 
19
  incidencefetchjob_p.cpp
 
20
  incidencechanger.cpp
 
21
  invitationhandler.cpp
 
22
  invitationhandler_p.cpp
 
23
  invitationhandlerhelper_p.cpp
 
24
  kcolumnfilterproxymodel.cpp
 
25
  fetchjobcalendar.cpp
 
26
  freebusydownloadjob_p.cpp
 
27
  freebusymanager.cpp
 
28
  freebusyproviderbase.cpp
 
29
  mailclient_p.cpp
 
30
  mailscheduler_p.cpp
 
31
  publishdialog.cpp
 
32
  publishdialog_p.cpp
 
33
  scheduler_p.cpp
 
34
  standardcalendaractionmanager.cpp
 
35
  utils_p.cpp
 
36
)
 
37
 
 
38
kde4_add_kcfg_files(akonadicalendar_LIB_SRC calendarsettings.kcfgc)
 
39
kde4_add_ui_files(akonadicalendar_LIB_SRC publishdialog_base.ui)
 
40
 
 
41
qt4_add_dbus_adaptor( akonadicalendar_LIB_SRC ../interfaces/org.freedesktop.Akonadi.Resource.FreeBusyProvider.xml freebusyproviderbase_p.h Akonadi::FreeBusyProviderBasePrivate freebusyprovideradaptor  Akonadi__FreeBusyProviderAdaptor )
 
42
kde4_add_library(akonadi-calendar ${LIBRARY_TYPE} ${akonadicalendar_LIB_SRC})
 
43
 
 
44
target_link_libraries(akonadi-calendar
 
45
                      akonadi-contact
 
46
                      akonadi-kmime
 
47
                      akonadi-kde
 
48
                      kpimidentities
 
49
                      kpimutils
 
50
                      kcalcore
 
51
                      kcalutils
 
52
                      kmime
 
53
                      mailtransport
 
54
                      ${KDE4_KDEUI_LIBS}
 
55
                      ${KDE4_KIO_LIBS}
 
56
                      ${KDE4_PHONON_LIBS})
 
57
 
 
58
set_target_properties(akonadi-calendar PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
 
59
 
 
60
install(TARGETS akonadi-calendar EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
 
61
 
 
62
install( FILES
 
63
  akonadi-calendar_export.h
 
64
  blockalarmsattribute.h
 
65
  calendarbase.h
 
66
  calendarclipboard.h
 
67
  etmcalendar.h
 
68
  history.h
 
69
  incidencechanger.h
 
70
  invitationhandler.h
 
71
  fetchjobcalendar.h
 
72
  freebusymanager.h
 
73
  freebusyproviderbase.h
 
74
  publishdialog.h
 
75
  standardcalendaractionmanager.h
 
76
  ${CMAKE_CURRENT_BINARY_DIR}/calendarsettings.h
 
77
  DESTINATION ${INCLUDE_INSTALL_DIR}/akonadi/calendar COMPONENT Devel
 
78
)