~ubuntu-branches/ubuntu/karmic/kdepim/karmic-backports

« back to all changes in this revision

Viewing changes to akonadi/akonadi_next/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2009-07-10 06:34:50 UTC
  • mfrom: (1.1.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20090710063450-neojgew2fh0n3y0u
Tags: 4:4.2.96-0ubuntu1
* New upstream release
* Bump kde build-deps to 4.2.96

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
project(akonadi_next)
2
 
 
3
 
find_package(KDE4 REQUIRED)
4
 
find_package(Akonadi REQUIRED)
5
 
find_package(KdepimLibs REQUIRED)
6
 
 
7
 
include_directories(
8
 
  ${AKONADI_INCLUDE_DIR}
9
 
  ${KDE4_INCLUDES}
10
 
  ${KDEPIMLIBS_INCLUDE_DIR}
11
 
  ${QT_INCLUDES}
12
 
  ${Boost_INCLUDE_DIR}
13
 
)
14
 
 
15
 
include(KDE4Defaults)
16
 
 
17
 
set( akonadi_next_SRCS
18
 
  abstractitemmodel.cpp
19
 
  abstractitemmodel_p.cpp
20
 
  abstractproxymodel.cpp
21
 
#   qsortfilterproxymodel.cpp
22
 
  entitytreemodel.cpp
23
 
  entitytreemodel_p.cpp
24
 
  descendantentitiesproxymodel.cpp
25
 
  entityfilterproxymodel.cpp
26
 
  entitytreeview.cpp
27
 
  collectionchildorderattribute.cpp
28
 
  modeltest.cpp
29
 
  emaillineedit.cpp
30
 
  # TODO Move this to akonadi-kabc
31
 
  contactsmodel.cpp
32
 
  # TODO Move this to akonadi-mail?
33
 
  mailmodel.cpp
34
 
  selectionproxymodel.cpp
35
 
  )
36
 
 
37
 
kde4_add_library(akonadi_next SHARED ${akonadi_next_SRCS} )
38
 
 
39
 
target_link_libraries(akonadi_next
40
 
                      ${AKONADI_COMMON_LIBRARIES}
41
 
                      ${QT_QTCORE_LIBRARY}
42
 
                      ${QT_QTGUI_LIBRARY}
43
 
                      ${KDEPIMLIBS_AKONADI_LIBS}
44
 
                      ${KDE4_KIO_LIBS}
45
 
                      ${KDEPIMLIBS_KABC_LIBS}
46
 
                      ${KDEPIMLIBS_KMIME_LIBS}
47
 
)
48
 
 
49
 
set_target_properties(akonadi_next PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
50
 
 
51
 
install(TARGETS akonadi_next ${INSTALL_TARGETS_DEFAULT_ARGS})
52
 
 
53
 
add_subdirectory(tests)
54
 
add_subdirectory(testapp)