CMakeLists.txt 2.14 KB
Newer Older
1

2
include_directories(
3
  ${kdepim-runtime_SOURCE_DIR}/libkdepim-copy
4 5 6
  ${CMAKE_CURRENT_SOURCE_DIR}/shared
  ${CMAKE_CURRENT_BINARY_DIR}/shared
)
7

8
set( AKONADI_SINGLEFILERESOURCE_SHARED_SOURCES
9
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourcebase.cpp
10 11 12
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialogbase.cpp
)

13
if (KDEPIM_MOBILE_UI)
14
set( AKONADI_SINGLEFILERESOURCE_SHARED_UI
15
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialog_mobile.ui
David Jarvie's avatar
David Jarvie committed
16
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialog.ui
17
)
18 19
else (KDEPIM_MOBILE_UI)
set( AKONADI_SINGLEFILERESOURCE_SHARED_UI
20
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialog_desktop.ui
David Jarvie's avatar
David Jarvie committed
21
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialog.ui
22 23
)
endif (KDEPIM_MOBILE_UI)
24

25
set( AKONADI_COLLECTIONATTRIBUTES_SHARED_SOURCES
26
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/collectionannotationsattribute.cpp
27
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/collectionflagsattribute.cpp
28 29
)

30 31
set( AKONADI_IMAPATTRIBUTES_SHARED_SOURCES
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/imapaclattribute.cpp
32
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/imapquotaattribute.cpp
33 34
)

35
add_subdirectory( akonotes )
36
add_subdirectory( kalarm )
37
add_subdirectory( contacts )
38
macro_optional_add_subdirectory( dav )
39
add_subdirectory( ical )
40
add_subdirectory( imap )
41
if (KDEPIMLIBS_KRESOURCES_LIBS)
Volker Krause's avatar
Volker Krause committed
42 43
  add_subdirectory( kabc )
  add_subdirectory( kcal )
44
endif (KDEPIMLIBS_KRESOURCES_LIBS)
45
macro_optional_add_subdirectory( kdeaccounts )
46
add_subdirectory( kolabproxy )
47
macro_optional_add_subdirectory( localbookmarks )
Laurent Montel's avatar
Laurent Montel committed
48

49
add_subdirectory( maildir )
Laurent Montel's avatar
Laurent Montel committed
50

51 52
macro_optional_add_subdirectory( microblog )
macro_optional_add_subdirectory( openxchange )
Thomas McGuire's avatar
Thomas McGuire committed
53
add_subdirectory( pop3 )
54

55
if (NOT WINCE)
56 57 58
if ( NEPOMUK_FOUND )
  add_subdirectory( nepomuktag )
endif ( NEPOMUK_FOUND )
59
endif (NOT WINCE)
60

Laurent Montel's avatar
Laurent Montel committed
61 62
add_subdirectory( shared )

63
if (NOT WINCE)
Laurent Montel's avatar
Laurent Montel committed
64 65 66 67 68 69 70
  add_subdirectory( birthdays )
  add_subdirectory( knut )
  add_subdirectory( mixedmaildir )
  add_subdirectory( mailtransport_dummy )
  add_subdirectory( mbox )
  add_subdirectory( nntp )
  add_subdirectory( vcarddir )
Andreas Holzammer's avatar
Andreas Holzammer committed
71
else (NOT WINCE)
Laurent Montel's avatar
Laurent Montel committed
72
  add_subdirectory( agentserver )
73
endif (NOT WINCE)
Laurent Montel's avatar
Laurent Montel committed
74

75
add_subdirectory( vcard )
76