~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to akonadi/calendar/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    ${CMAKE_CURRENT_BINARY_DIR}
5
5
)
6
6
 
 
7
 
 
8
# TODO: Add a cmake option for this and enable it on jenkins
 
9
set( PLEASE_TEST_INVITATIONS FALSE)
 
10
if ( PLEASE_TEST_INVITATIONS )
 
11
  add_definitions( -DPLEASE_TEST_INVITATIONS )
 
12
endif()
 
13
 
7
14
add_subdirectory( tests )
8
15
 
9
16
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -UQT_NO_CAST_FROM_ASCII -UQT_NO_CAST_TO_ASCII ${KDE4_ENABLE_EXCEPTIONS}")
17
24
  etmcalendar.cpp
18
25
  history.cpp
19
26
  history_p.cpp
 
27
  icalimporter.cpp
20
28
  incidencefetchjob_p.cpp
21
29
  incidencechanger.cpp
 
30
  incidencechanger_p.cpp
22
31
  itiphandler.cpp
23
32
  itiphandler_p.cpp
24
33
  itiphandlerhelper_p.cpp
33
42
  publishdialog_p.cpp
34
43
  scheduler_p.cpp
35
44
  standardcalendaractionmanager.cpp
 
45
  todopurger.cpp
36
46
  utils_p.cpp
37
47
)
38
48
 
 
49
include_directories(
 
50
  ${CMAKE_BINARY_DIR}/kpimutils
 
51
  ${CMAKE_BINARY_DIR}/kmime
 
52
  ${CMAKE_BINARY_DIR}/kcalcore
 
53
  ${CMAKE_BINARY_DIR}/kcalutils
 
54
  ${CMAKE_BINARY_DIR}/akonadi
 
55
  ${CMAKE_BINARY_DIR}/mailtransport
 
56
  ${CMAKE_BINARY_DIR}/kpimidentities
 
57
  ${CMAKE_BINARY_DIR}/akonadi/contact
 
58
  ${CMAKE_BINARY_DIR}/akonadi/kmime
 
59
  ${CMAKE_BINARY_DIR}/kabc
 
60
)
 
61
 
39
62
kde4_add_kcfg_files(akonadicalendar_LIB_SRC calendarsettings.kcfgc)
40
63
kde4_add_ui_files(akonadicalendar_LIB_SRC publishdialog_base.ui)
41
64
 
42
65
qt4_add_dbus_adaptor( akonadicalendar_LIB_SRC ../interfaces/org.freedesktop.Akonadi.Resource.FreeBusyProvider.xml freebusyproviderbase_p.h Akonadi::FreeBusyProviderBasePrivate freebusyprovideradaptor  Akonadi__FreeBusyProviderAdaptor )
43
 
kde4_add_library(akonadi-calendar ${LIBRARY_TYPE} ${akonadicalendar_LIB_SRC})
 
66
add_library(akonadi-calendar ${LIBRARY_TYPE} ${akonadicalendar_LIB_SRC})
 
67
if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.12)
 
68
  set_property(TARGET akonadi-calendar PROPERTY DEFINE_SYMBOL akonadi_calendar)
 
69
endif()
 
70
generate_export_header(akonadi-calendar
 
71
  BASE_NAME akonadi_calendar
 
72
  EXPORT_FILE_NAME akonadi-calendar_export.h
 
73
)
44
74
 
45
75
target_link_libraries(akonadi-calendar
46
76
                      akonadi-contact
61
91
install(TARGETS akonadi-calendar EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
62
92
 
63
93
install( FILES
64
 
  akonadi-calendar_export.h
 
94
  ${CMAKE_CURRENT_BINARY_DIR}/akonadi-calendar_export.h
65
95
  blockalarmsattribute.h
66
96
  calendarbase.h
67
97
  calendarclipboard.h
68
98
  etmcalendar.h
69
99
  history.h
 
100
  icalimporter.h
70
101
  incidencechanger.h
71
102
  itiphandler.h
72
103
  fetchjobcalendar.h
74
105
  freebusyproviderbase.h
75
106
  publishdialog.h
76
107
  standardcalendaractionmanager.h
 
108
  todopurger.h
77
109
  ${CMAKE_CURRENT_BINARY_DIR}/calendarsettings.h
78
110
  DESTINATION ${INCLUDE_INSTALL_DIR}/akonadi/calendar COMPONENT Devel
79
111
)