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

« back to all changes in this revision

Viewing changes to includes/tests/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:
9
9
# clear the file initially
10
10
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/all_includes.h "/* all forwarding includes */\n" )
11
11
 
12
 
add_definitions(-DWANT_DEPRECATED_KCAL_API)
13
 
add_definitions(-DWANT_DEPRECATED_KABC_API)
14
 
add_definitions(-DWANT_DEPRECATED_KRESOURCE_API)
 
12
add_definitions(
 
13
  -DKRESOURCES_DEPRECATED=
 
14
  -DKABC_DEPRECATED=
 
15
  -DKCAL_DEPRECATED=
 
16
)
 
17
# This one won't be needed when CMake 2.8.13 is depended on.
 
18
add_definitions(
 
19
  -DKRESOURCES_DEPRECATED_EXPORT=KRESOURCES_EXPORT
 
20
  -DKABC_DEPRECATED_EXPORT=KABC_EXPORT
 
21
  -DKCAL_DEPRECATED_EXPORT=KCAL_EXPORT
 
22
)
15
23
 
16
24
macro(add_includes _dir)
17
25
  file(GLOB_RECURSE _includes "${CMAKE_SOURCE_DIR}/includes/${_dir}/[A-Z]*")
23
31
include_directories(
24
32
  # HACK: akonadi/calendar has a generated header. We need to go up 3 directories level
25
33
  ${CMAKE_BINARY_DIR}/akonadi/calendar/tests
26
 
  ${CMAKE_SOURCE_DIR}/kabc
 
34
  ${CMAKE_BINARY_DIR}/akonadi
 
35
  ${CMAKE_BINARY_DIR}/akonadi/contact
 
36
  ${CMAKE_BINARY_DIR}/akonadi/calendar
 
37
  ${CMAKE_BINARY_DIR}/akonadi/kcal
 
38
  ${CMAKE_BINARY_DIR}/akonadi/kmime
 
39
  ${CMAKE_BINARY_DIR}/akonadi/notes
 
40
  ${CMAKE_BINARY_DIR}/akonadi/socialutils
27
41
  ${CMAKE_BINARY_DIR}/kabc
28
 
  ${CMAKE_SOURCE_DIR}/kcalutils
 
42
  ${CMAKE_BINARY_DIR}/kalarmcal
29
43
  ${CMAKE_BINARY_DIR}/kcal
30
 
  ${CMAKE_BINARY_DIR}/kalarmcal
 
44
  ${CMAKE_BINARY_DIR}/kcalcore
 
45
  ${CMAKE_BINARY_DIR}/kcalutils
 
46
  ${CMAKE_BINARY_DIR}/kholidays
 
47
  ${CMAKE_BINARY_DIR}/kimap
 
48
  ${CMAKE_BINARY_DIR}/kldap
 
49
  ${CMAKE_BINARY_DIR}/kontactinterface
 
50
  ${CMAKE_BINARY_DIR}/kmbox
 
51
  ${CMAKE_BINARY_DIR}/kmime
 
52
  ${CMAKE_BINARY_DIR}/kpimidentities
 
53
  ${CMAKE_BINARY_DIR}/kpimtextedit
 
54
  ${CMAKE_BINARY_DIR}/kpimutils
 
55
  ${CMAKE_BINARY_DIR}/kresources
 
56
  ${CMAKE_BINARY_DIR}/ktnef
 
57
  ${CMAKE_BINARY_DIR}/mailtransport
 
58
  ${CMAKE_BINARY_DIR}/microblog
 
59
  ${CMAKE_BINARY_DIR}/syndication
31
60
  ${Boost_INCLUDE_DIR}
32
61
)
33
62