CMakeLists.txt 2.33 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
David Jarvie's avatar
David Jarvie committed
10
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigwidget.cpp
11 12 13
  ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresourceconfigdialogbase.cpp
)

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

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

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

36
add_subdirectory( akonotes )
37
if (NOT WINCE)
38
add_subdirectory( birthdays )
39
endif (NOT WINCE)
40
add_subdirectory( contacts )
41
macro_optional_add_subdirectory( dav )
42
add_subdirectory( ical )
43
add_subdirectory( imap )
44
if (KDEPIMLIBS_KRESOURCES_LIBS)
Volker Krause's avatar
Volker Krause committed
45 46
  add_subdirectory( kabc )
  add_subdirectory( kcal )
47
endif (KDEPIMLIBS_KRESOURCES_LIBS)
48
macro_optional_add_subdirectory( kdeaccounts )
49
if (NOT WINCE)
50
add_subdirectory( knut )
51
endif (NOT WINCE)
52
add_subdirectory( kolabproxy )
53
macro_optional_add_subdirectory( localbookmarks )
54
if (NOT WINCE)
55
  add_subdirectory( mixedmaildir )
56
endif (NOT WINCE)
57
add_subdirectory( maildir )
58
if (NOT WINCE)
59
add_subdirectory( mailtransport_dummy )
60
add_subdirectory( mbox )
61
endif (NOT WINCE)
62 63
macro_optional_add_subdirectory( microblog )
macro_optional_add_subdirectory( openxchange )
Thomas McGuire's avatar
Thomas McGuire committed
64
add_subdirectory( pop3 )
65

66
if (NOT WINCE)
67 68 69
if ( NEPOMUK_FOUND )
  add_subdirectory( nepomuktag )
endif ( NEPOMUK_FOUND )
70
endif (NOT WINCE)
71

72
if (NOT WINCE)
73
add_subdirectory( nntp )
74
endif (NOT WINCE)
75
add_subdirectory( vcard )
76
if (NOT WINCE)
77
add_subdirectory( vcarddir )
78
endif (NOT WINCE)
79
add_subdirectory( shared )
80 81 82 83

if(WINCE)
add_subdirectory( agentserver )
endif(WINCE)